/* ===== Login Dropdown — seed.com InnerCircle style ===== */

/* Wrapper */
.seed-login-wrap {
    position: relative;
}

/* Toggle button inherits existing seed-header__login styles */
.seed-login-wrap .seed-header__login {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    color: inherit;
    padding: inherit;
}

/* Dropdown Panel */
.seed-login-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    right: -130px;
    width: 340px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 2px 12px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 9999;
}

.seed-login-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Badge */
.seed-login-dropdown__badge {
    font-size: 13px;
    font-weight: 500;
    color: #1C3A13;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Heading */
.seed-login-dropdown__heading {
    font-size: 24px;
    font-weight: 600;
    color: #1C3A13;
    margin-bottom: 6px;
}

/* Description */
.seed-login-dropdown__desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(28, 58, 19, 0.55);
    margin: 0 0 20px 0;
}

/* Separator */
.seed-login-dropdown__sep {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(28, 58, 19, 0.35);
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

/* Form Fields */
.seed-login-dropdown__field {
    margin-bottom: 12px;
}

.seed-login-dropdown__field input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(28, 58, 19, 0.15);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1C3A13;
    background: rgba(255, 255, 255, 0.6);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.seed-login-dropdown__field input:focus {
    border-color: #1C3A13;
    box-shadow: 0 0 0 3px rgba(28, 58, 19, 0.08);
}

.seed-login-dropdown__field input::placeholder {
    color: rgba(28, 58, 19, 0.4);
}

/* Error message */
.seed-login-dropdown__error {
    font-size: 13px;
    color: #c0392b;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(192, 57, 43, 0.08);
}

/* Actions Row */
.seed-login-dropdown__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

/* Forgot Password */
.seed-login-dropdown__forgot {
    font-size: 13px;
    font-weight: 500;
    color: #1C3A13;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(28, 58, 19, 0.3);
    transition: text-decoration-color 0.2s;
}

.seed-login-dropdown__forgot:hover {
    text-decoration-color: #1C3A13;
}

/* Submit Button */
.seed-login-dropdown__submit {
    padding: 10px 24px;
    background: #1C3A13;
    color: #FCFCF7;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.seed-login-dropdown__submit:hover {
    background: #2a5a1e;
}

.seed-login-dropdown__submit:active {
    transform: scale(0.97);
}

.seed-login-dropdown__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---- Logged-in: Account Nav ---- */
.seed-login-dropdown__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.seed-login-dropdown__nav a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    color: #1C3A13;
    text-decoration: none;
    border-bottom: 1px solid rgba(28, 58, 19, 0.06);
    transition: padding-left 0.2s, color 0.2s;
}

.seed-login-dropdown__nav a:last-child {
    border-bottom: none;
}

.seed-login-dropdown__nav a:hover {
    padding-left: 6px;
    color: #2a5a1e;
}

.seed-login-dropdown__logout {
    color: rgba(28, 58, 19, 0.5) !important;
    margin-top: 4px;
}

/* ---- Mobile: 768px and below ---- */
@media (max-width: 768px) {
    .seed-login-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        transform: translateY(100%);
        background: rgba(87, 94, 85, 0.95);
    }

    .seed-login-dropdown.is-open {
        transform: translateY(0);
    }

    /* ---- Mobile white text overrides ---- */
    .seed-login-dropdown__badge {
        color: rgba(252, 252, 247, 0.7);
    }

    .seed-login-dropdown__heading {
        color: #fcfcf7;
    }

    .seed-login-dropdown__desc {
        color: rgba(252, 252, 247, 0.55);
    }

    .seed-login-dropdown__sep {
        color: rgba(252, 252, 247, 0.35);
    }

    .seed-login-dropdown__field input {
        color: #fcfcf7;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(252, 252, 247, 0.2);
    }

    .seed-login-dropdown__field input::placeholder {
        color: rgba(252, 252, 247, 0.4);
    }

    .seed-login-dropdown__field input:focus {
        border-color: #fcfcf7;
        box-shadow: 0 0 0 3px rgba(252, 252, 247, 0.1);
    }

    .seed-login-dropdown__forgot {
        color: #fcfcf7;
        text-decoration-color: rgba(252, 252, 247, 0.3);
    }

    .seed-login-dropdown__forgot:hover {
        text-decoration-color: #fcfcf7;
    }

    .seed-login-dropdown__error {
        color: #ff8a80;
        background: rgba(255, 138, 128, 0.1);
    }

    .seed-login-dropdown__nav a {
        color: #fcfcf7;
        border-bottom-color: rgba(252, 252, 247, 0.1);
    }

    .seed-login-dropdown__nav a:hover {
        color: rgba(252, 252, 247, 0.7);
    }

    .seed-login-dropdown__logout {
        color: rgba(252, 252, 247, 0.5) !important;
    }

    .seed-login-dropdown__submit {
        background: #fcfcf7;
        color: #1C3A13;
    }

    .seed-login-dropdown__submit:hover {
        background: rgba(252, 252, 247, 0.85);
    }
}