@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.creative-login-wrapper {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #fdfcfb 0%, #f7f4ed 100%);
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}

/* Animated Background Shapes */
.creative-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    top: 50%;
    right: -150px;
    animation-delay: 3s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    bottom: -100px;
    left: 20%;
    animation-delay: 6s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #A8E6CF, #DCEDC1);
    top: 30%;
    right: 30%;
    animation-delay: 9s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.container {
    position: relative;
    z-index: 1;
}

/* Login Container */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Visual Side */
.login-visual {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-content {
    position: relative;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    font-size: 48px;
    animation: floatIcon 4s infinite ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.visual-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.visual-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.brush-stroke {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 80px;
    background: linear-gradient(90deg, #FFD700, transparent);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.4;
}

/* Right Form Side */
.login-form-wrapper {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 40px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 400;
}

/* Form Styles */
.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    color: #2C3E50;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #2C3E50;
}

.form-input::placeholder {
    color: #bdc3c7;
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus+.input-underline {
    width: 100%;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2C3E50;
}

.checkbox-label {
    font-size: 14px;
    color: #7f8c8d;
    cursor: pointer;
    user-select: none;
}

.forgot-link {
    font-size: 14px;
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #d35400;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

.submit-btn span {
    position: relative;
    z-index: 2;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.submit-btn:hover .btn-bg {
    left: 0;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

/* Signup Prompt */
.signup-prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #7f8c8d;
}

.signup-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: #d35400;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-visual {
        padding: 40px 30px;
        min-height: 300px;
    }

    .visual-title {
        font-size: 42px;
    }

    .login-form-wrapper {
        padding: 40px 30px;
    }

    .form-title {
        font-size: 36px;
    }
}

@media (max-width: 575px) {
    .login-form-wrapper {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 32px;
    }

    .visual-title {
        font-size: 36px;
    }
}
