/* ---------------- GLOBAL STYLING ---------------- */

body {
    color: #3E2723;                            /* Deep brown text */
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    font-family: "Segoe UI", sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    padding: 20px;
}

/* ---------------- CARD / FORM BOX ---------------- */

.form-container {
    max-width: 480px;
    margin: 30px auto;
    background: #FAFAF1;                       /* light earthy tone */
    border-radius: 10px;
    padding: 30px 35px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    border: 1px solid #D7CCC8;
    transition: 0.3s ease;
}
.form-container:hover {
    box-shadow: 0px 10px 22px rgba(0,0,0,0.20);
}

/* Section headings */
.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #33691E;
    margin-bottom: 20px;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #6D4C41;
    text-align: center;
    margin-bottom: 25px;
}

/* ---------------- FORM ELEMENTS ---------------- */

input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #BCAAA4;
    border-radius: 6px;
    background: #FFFFFF;
    font-size: 15px;
    color: #4E342E;
    margin-bottom: 18px;
    transition: 0.25s;
}

/* Placeholder styling */
::placeholder {
    color: #8D6E63;
    opacity: .9;
}

/* Input focus glow */
input:focus, textarea:focus, select:focus {
    border-color: #558B2F;
    box-shadow: 0px 0px 6px rgba(85,139,47,0.4);
    outline: none;
    background: #F1F8E9;
}

/* Input label styling */
label {
    font-size: 14px;
    color: #5D4037;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* Input groups */
.input-group {
    margin-bottom: 22px;
}

/* ---------------- BUTTON ---------------- */

.btn-submit {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-radius: 6px;
    background-color: #558B2F;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-submit:hover {
    background-color: #33691E;
    transform: translateY(-2px);
}

/* Disabled button */
.btn-submit:disabled {
    background: #A5D6A7;
    cursor: not-allowed;
}

/* ---------------- SOCIAL ICON ROW ---------------- */

.social-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.facebook { background: #3b5998; }
.twitter  { background: #1DA1F2; }
.linkedin { background: #2867B2; }

/* ---------------- DIVIDER ---------------- */

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider .line {
    height: 1px;
    width: 100%;
    background: #CFD8DC;
}

.divider .or {
    padding: 0 10px;
    font-weight: 700;
    color: #6D4C41;
}

/* ---------------- FORM MESSAGES ---------------- */

.alert-success {
    background: #E8F5E9;
    padding: 12px;
    border-left: 4px solid #43A047;
    border-radius: 6px;
    color: #2E7D32;
    margin-bottom: 15px;
}

.alert-error {
    background: #FFEBEE;
    padding: 12px;
    border-left: 4px solid #D32F2F;
    border-radius: 6px;
    color: #C62828;
    margin-bottom: 15px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 600px) {
    .form-container {
        padding: 22px;
    }
}
