:root {
    --teal: #129a90;
    --teal-dark: #0e7f77;
    --teal-light: #49b2aa;
    --mint: #eef7f6;
    --tint: #e3f3f1;
    --card: #ffffff;
    --line: #e1e8e7;
    --text: #1a1a1a;
    --text-soft: #5f6b69;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #E5E7EB;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* ---------- Phone Frame ---------- */
.phone-frame {
    width: 375px;
    height: 812px;
    background: #FFFFFF;
    border-radius: 40px;
    border: 10px solid #1a1a1a;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* ---------- Status Bar ---------- */
.status-bar {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.dynamic-island {
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
}

.status-icons i {
    margin-left: 4px;
    font-size: 12px;
}

/* ---------- Image Header (Merged & Fixed) ---------- */
.header-teal {
    background-color: var(--teal);
    background-image:
        linear-gradient(to bottom, rgba(14, 127, 119, 0.85), rgba(14, 127, 119, 0.95)),
        url('../../assets/images/1login.jpg');
    /* FIXED FILE NAME */
    background-size: contain;
    /* Adjusted size for better fit */
    background-position: center;
    /* ALIGNS TO DOCTOR */
    background-repeat: no-repeat;
    height: 45%;
    padding: 60px 24px 20px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.header-teal .logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.logo-icon {
    background: #FFFFFF;
    color: var(--teal);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.header-teal h2 {
    font-size: 22px;
    line-height: 1.3;
    width: 80%;
    font-weight: 600;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Stronger shadow for readability */
}

/* Hide the old cartoon doctor image if it's still in the HTML */
.doctor-img {
    display: none !important;
}

/* ---------- White Body ---------- */
.content-body {
    background: #FFFFFF;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: -30px;
    flex: 1;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.content-body h1 {
    color: #111827;
    font-size: 26px;
    margin-bottom: 6px;
    font-weight: 700;
}

.subtitle {
    color: #6B7280;
    font-size: 13px;
    margin-bottom: 25px;
}

/* ---------- Inputs ---------- */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #9CA3AF;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.toggle-password {
    position: absolute;
    right: 14px;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 14px;
    z-index: 3;
}

.toggle-password:hover {
    color: var(--teal);
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #111827;
    outline: none;
    transition: all 0.2s;
    background: #FFFFFF;
}

.input-wrapper input::placeholder {
    color: #9CA3AF;
}

.input-wrapper input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(18, 154, 144, 0.1);
}

/* ---------- Forgot Link ---------- */
.forgot-link {
    display: block;
    text-align: right;
    font-size: 13px;
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ---------- Button ---------- */
.btn-primary {
    width: 100%;
    background-color: var(--teal);
    color: #FFFFFF;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: var(--teal-dark);
}

/* ---------- Footer ---------- */
.footer-text {
    text-align: center;
    font-size: 13px;
    color: #6B7280;
    margin-top: auto;
    padding-top: 20px;
}

.footer-text a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}