/* =======================
   Global Form Styles
======================= */

form {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
}

form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.form-row {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon i {
    position: absolute;
    left: 12px;
    color: #888;
    font-size: 1rem;
    pointer-events: none;
}

.input-icon input,
.input-icon select,
.input-icon textarea {
    width: 100%;
    padding: 10px 12px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.input-icon input:focus,
.input-icon select:focus,
.input-icon textarea:focus {
    border-color: #1abc9c;
    outline: none;
    box-shadow: 0 0 5px rgba(26, 188, 156, 0.3);
}

/* Button */
button.btn-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #1abc9c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

button.btn-submit:hover {
    background-color: #16a085;
}

/* Success / Error messages */
.form-message {
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}

.form-message.success {
    color: #27ae60;
}

.form-message.error {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 600px) {
    form {
        padding: 1rem;
    }
}

