/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #6a73c5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 0;
}

/* Outer Container / Mobile Frame */
.app-container {
    width: 360px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 16px;
        }

        .app-logo {
            max-width: 180px;
            height: auto;
            object-fit: contain;
        }


/* Top Abstract Curved Graphic */
.top-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 1;
    pointer-events: none;
}

.top-graphic svg {
    width: 100%;
    height: 100%;
}

/* Header Section */
.header-section {
    position: relative;
    z-index: 2;
    padding: 30px 24px 15px;
}

.heart-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #4b56b2, #39428c);
    border-radius: 50% 50% 50% 10%;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(75, 86, 178, 0.4);
}

.heart-icon i {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 24px;
}

.title {
    color: #4b56b2;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.subtitle {
    color: #7d84ab;
    font-size: 13px;
}

/* Card Container for Form */
.form-card {
    background-color: #4b56b2;
    margin-top: 10px;
    padding: 24px 20px 20px;
    color: #ffffff;
    flex-grow: 1;
}

/* Form Groups & Inputs */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field input {
    width: 100%;
    padding: 10px 36px;
    border: none;
    border-radius: 4px;
    background-color: #eef1f8;
    color: #333333;
    font-size: 13px;
    outline: none;
}

.input-field input::placeholder {
    color: #a0a6c0;
}

.field-icon-left {
    position: absolute;
    left: 12px;
    color: #7d84ab;
    font-size: 14px;
}

.field-icon-right {
    position: absolute;
    right: 12px;
    color: #7d84ab;
    font-size: 14px;
    cursor: pointer;
}

.field-icon-right.active {
    color: #5562d6;
}

/* Checkbox and Links */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 20px;
    font-size: 11px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.remember-me input {
    margin-right: 6px;
    accent-color: #ffffff;
}

.forgot-password {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 65%;
    display: block;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    background: linear-gradient(90deg, #5b68d6, #3f4a9b);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(90deg, #6775e8, #4854ae);
}

/* Social Login Section */
.social-login {
    text-align: center;
    margin-top: 20px;
}

.social-login p {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #4b56b2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
}

/* Switch Link Footer */
.switch-link {
    text-align: center;
    font-size: 10px;
    margin-top: 14px;
}

.switch-link a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.switch-link a:hover {
    text-decoration: underline;
}

/* Bottom Navigation */
.bottom-nav {
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #eef1f8;
}

.bottom-nav a {
    color: #4b56b2;
    font-size: 16px;
    text-decoration: none;
}

.bottom-nav a.active {
    color: #39428c;
}

/* Optional Green Color Theme Override (Add to body/card if green theme is needed) */
.theme-green {
    background-color: #0b8061;
}
.theme-green .form-card {
    background-color: #00795b;
}
.theme-green .title {
    color: #00795b;
}
.theme-green .heart-icon {
    background: linear-gradient(135deg, #009670, #00664d);
}