/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background decorative text */
.background-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.text-line {
    font-family: Impact, 'Arial Black', sans-serif;
    font-weight: 900;
    color: #E8E8E8;
    white-space: nowrap;
    position: absolute;
    user-select: none;
    letter-spacing: 0.02em;
    -webkit-text-fill-color: #E8E8E8;
    text-fill-color: #E8E8E8;
}

.line-1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 180px;
}

.line-2 {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 180px;
}

/* Main wrapper */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: 40px;
}

.heart-logo {
    display: inline-block;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.heart-logo svg {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 -6px 16px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.brand-name {
    font-size: 48px;
    font-weight: 600;
    color: #5A5C65;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Form Styles */
.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    background: #ffffff;
    border: 1px solid #FFE2E7;
    border-radius: 26px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.input-wrapper:focus-within {
    border-color: #FD90A3;
    box-shadow: 0 6px 20px rgba(253, 144, 163, 0.15);
}

.input-icon {
    display: flex;
    align-items: center;
    margin-right: 0;
    flex-shrink: 0;
}

.input-icon svg {
    width: 18px;
    height: 18px;
}

.input-divider {
    width: 1px;
    height: 22px;
    background: #5A5C65;
    opacity: 0.3;
    margin: 0 16px;
    margin-left: 12px;
    flex-shrink: 0;
}

input[type="text"],
input[type="password"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #5A5C65;
    font-family: 'Inter', sans-serif;
    background: transparent;
}

input::placeholder {
    color: #5A5C65;
    opacity: 0.59;
}

/* Login Button */
.login-btn {
    width: 150px;
    padding: 18px 24px;
    background: linear-gradient(90deg, #FD90A3 0%, #F36982 100%);
    border: none;
    border-radius: 28px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(253, 144, 163, 0.25);
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(253, 144, 163, 0.35);
}

.login-btn:active {
    transform: translateY(0);
}

/* Error Message */
.error-message {
    margin-top: 20px;
    padding: 12px 20px;
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 12px;
    color: #d32f2f;
    font-size: 14px;
    text-align: center;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Footer Section */
.footer {
    background: #CFCFCF;
    background: rgba(207, 207, 207, 0.5);
    padding: 25px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-text {
    font-size: 13px;
    color: #5A5C65;
    margin-bottom: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.footer-text .heart {
    display: inline-flex;
    align-items: center;
    animation: heartbeat 1.5s ease-in-out infinite;
    position: relative;
    top: 1px;
}

.footer-text .heart svg {
    width: 14px;
    height: 12px;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-text .company {
    display: inline-flex;
    align-items: center;
}

.footer-text .company svg {
    width: 54px;
    height: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #5A5C65;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.1);
    background: #5A5C65;
    border-color: #5A5C65;
}

.social-icon:hover svg path,
.social-icon:hover svg rect,
.social-icon:hover svg circle {
    stroke: #ffffff;
}

.social-icon:hover svg path[fill],
.social-icon:hover svg circle[fill] {
    fill: #ffffff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.copyright {
    font-size: 11px;
    color: #5A5C65;
    margin-top: 10px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 30px 20px;
    }

    .brand-name {
        font-size: 36px;
    }

    .heart-logo svg {
        width: 150px;
    }

    .line-1,
    .line-2 {
        font-size: 100px;
    }

    .line-1 {
        top: 5%;
    }

    .line-2 {
        top: 28%;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icons {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .login-container {
        max-width: 100%;
    }

    .brand-name {
        font-size: 32px;
    }

    .heart-logo svg {
        width: 130px;
    }

    .input-wrapper {
        padding: 14px 20px;
        border-radius: 22px;
    }

    input[type="text"],
    input[type="password"] {
        font-size: 14px;
    }

    .login-btn {
        width: 140px;
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 22px;
    }

    .line-1,
    .line-2 {
        font-size: 60px;
    }

    .line-1 {
        top: 8%;
    }

    .line-2 {
        top: 30%;
    }

    .footer {
        padding: 20px 15px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icons {
        gap: 12px;
    }

    .copyright {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .brand-name {
        font-size: 28px;
    }

    .heart-logo svg {
        width: 110px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .line-1,
    .line-2 {
        font-size: 50px;
    }

    .line-1 {
        top: 10%;
    }

    .line-2 {
        top: 32%;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .line-1,
    .line-2 {
        font-size: 220px;
    }

    .line-1 {
        top: 3%;
    }

    .line-2 {
        top: 30%;
    }
}

/* Very large screens */
@media (min-width: 1600px) {
    .line-1,
    .line-2 {
        font-size: 280px;
    }

    .line-1 {
        top: 2%;
    }

    .line-2 {
        top: 32%;
    }
}

/* Print styles */
@media print {
    .background-text,
    .footer {
        display: none;
    }
}
