:root {
    --font-family: 'Poppins', sans-serif;
    --primary-color: #2ecc71;
    --secondary-color: #f1c40f;
    --text-color: #333;
    --error-color: #e74c3c;
    --background-gradient: linear-gradient(-135deg, var(--secondary-color), var(--primary-color));
}

/* === GLOBAL STYLES === */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--font-family);
    background: var(--background-gradient);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* === FORM CARD === */
.form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    flex: 1 1 300px;
}

.form-card h2,
.reset-title {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    font-size: 1.75rem;
    font-family: var(--font-family);
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
}

.description,
.text-sm {
    font-size: 0.875rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: left;
    font-family: var(--font-family);
}

/* === FORM === */
form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-family);
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    border: 0.5px solid #2ecc71;
    background: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    color: #222;
    font-family: var(--font-family);
    box-sizing: border-box;
    /* box-shadow: inset 0 1px 4px rgba(0,0,0,0.05); */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary-color);
    box-shadow:
        0 0 1px 1px var(--secondary-color),
        0 0 1px 1px var(--primary-color);
}

.status-message {
    background-color: #d1fae5;
    color: #065f46;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* === BUTTON === */
button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-family);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.6);
    width: 100%;
}

button:hover,
button:focus {
    background-color: #008b3a;
    color: #fff;
    box-shadow: 0 6px 14px rgba(39, 174, 96, 0.8);
    outline: none;
}

/* === ERROR TEXT === */
.error {
    font-size: 0.875rem;
    color: var(--error-color);
    margin-top: -0.5rem;
    font-weight: 500;
    font-family: var(--font-family);
}

/* === CUSTOM RESET CONTAINER === */
.custom-reset-container {
    width: 100%;
    max-width: 420px;
    padding: 2rem 3rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    backdrop-filter: saturate(180%) blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-family);
}



/* === CARD HEADER === */
.card-header {
    background: #fff;
    color: white;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 486px;
    font-family: Arial, sans-serif;
}

.card-header img {
    height: 50px;
    margin-left: 20px;
}

.card-header .title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-header .title-container .title {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* === LOGO === */
.connect-black,
.ed-green {
    font-family: var(--font-family);
    font-size: 2rem;
    font-weight: 700;
}

.connect-black {
    color: #000;
}

.ed-green {
    color: #257953;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    transition: stroke 0.3s ease;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 0.05em;
    font-family: var(--font-family);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    user-select: text;
}

.logo:hover svg {
    stroke: #27ae60;
    cursor: pointer;
}

.logo:hover .logo-text {
    color: #27ae60;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .custom-reset-container {
        margin: 1rem;
        padding: 2rem;
    }

    .header {
        margin-bottom: 1.5rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }
}