body {
    font-family: "Outfit", sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    min-height: 100vh;
    background: linear-gradient(to bottom right, #faf5ff, #fce7f3);
    position: relative;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(var(--rotate-start));
    }
    50% {
        transform: translateY(-20px) rotate(var(--rotate-end));
    }
}

.animate-float {
    animation-name: float;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* Different durations and rotation modifiers */
.float-1 { animation-duration: 12s; --rotate-start: -8deg; --rotate-end: 5deg; }
.float-2 { animation-duration: 10s; --rotate-start: 6deg; --rotate-end: -7deg; }
.float-3 { animation-duration: 14s; --rotate-start: -5deg; --rotate-end: 7deg; }
.float-4 { animation-duration: 11s; --rotate-start: 7deg; --rotate-end: -8deg; }
.float-5 { animation-duration: 9s; --rotate-start: -6deg; --rotate-end: 6deg; }
.float-6 { animation-duration: 13s; --rotate-start: 5deg; --rotate-end: -6deg; }

/* Positioning for outside and inside images */
.pass-img {
    position: fixed;
    border-radius: 20px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12);
    opacity: 0.15;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.outside.top-left { top: 6%; left: 11%; width: 170px; }
.outside.top-right { top: 6%; right: 22%; width: 170px; }
.outside.bottom-left { bottom: 25%; left: 8%; width: 170px; }
.outside.bottom-right { bottom: 7%; right: 27%; width: 170px; }
.outside.top-center { top: 3%; left: 27%; width: 170px; }
.outside.bottom-center { bottom: 14%; left: 22%; width: 170px; }
.inside.left-1 { top: 25%; left: -70px; width: 170px; }
.inside.left-2 { bottom: -15%; left: 10%; width: 170px; }
.inside.right-1 { top: -7%; right: -29px; width: 170px; }
.inside.right-2 { bottom: -30px; right: 10%; width: 170px; }
.inside.left-3 { bottom: -10%; left: -60px; width: 170px; }
.inside.right-3 { bottom: 30%; right: -70px; width: 170px; }
.inside.right-6 { top: 30%; right: 10%; width: 170px; }

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 2rem 1rem;
}

.login-card {
    background: white;
    border-radius: 1.5rem;
    max-width: 420px;
    width: 100%;
    padding: 2rem;
    position: relative;
    overflow: visible;
    box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.05), 0px 4px 25px rgba(0, 0, 0, 0.05);
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 20;
}

.logo-container img {
    width: 190px;
    height: auto;
}

.title-section {
    margin-bottom: 2rem;
}

.subtitle {
    color: #6b7280;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

.form-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    font-size: 1rem;
    background-color: #f9fafb;
    color: #374151;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #c084fc;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    outline: none;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.125rem;
    transition: opacity 0.3s;
}

.password-toggle:hover {
    opacity: 0.7;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.form-check:hover .form-check-label {
    color: #111827;
}

.gradient-text {
    background: #EC1C24;
    /*background: linear-gradient(to right, #D000FF, #FF000C);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}
.gradient-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(to right, #D000FF, #FF000C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.btn-signin {
    width: 100%;
    padding: 0.875rem;
    background: #EC1C24;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-signin:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.btn-connect-with-google {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #1976D2;
    font-weight: 600;
    border: 2px solid rgba(25, 118, 210, 0.3);
    border-radius: 0.75rem;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-connect-with-google:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(25, 118, 210, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(25, 118, 210, 0.2);
}

.btn-connect-with-microsoft {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #F57C00;
    font-weight: 600;
    border: 2px solid rgba(245, 124, 0, 0.3);
    border-radius: 0.75rem;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 30px;
}

.btn-connect-with-microsoft:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(245, 124, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(245, 124, 0, 0.2);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #e5e7eb;
}

.divider-text {
    padding: 0 1rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.signup-text {
    text-align: center;
    color: #4b5563;
    font-size: 0.875rem;
}

.mb-custom {
    margin-bottom: 1.25rem;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

/* Alert Styling */
.alert {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert .btn-close:hover {
    opacity: 1;
}