 /* Base styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Background animations */
.login-background {
    position: absolute;
    inset: 0;
    z-index: -10;
}

.gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #f0f9ff, #f5f3ff, #fdf2f8);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    mix-blend-mode: multiply;
}

.blob-1 {
    top: -96px;
    left: -96px;
    width: 384px;
    height: 384px;
    background-color: #bfdbfe;
    animation: blob-animation 8s infinite alternate;
}

.blob-2 {
    bottom: -96px;
    right: -96px;
    width: 384px;
    height: 384px;
    background-color: #ddd6fe;
    animation: blob-animation 8s infinite alternate 2s;
}

.blob-3 {
    top: 50%;
    left: -96px;
    width: 384px;
    height: 384px;
    background-color: #fbcfe8;
    animation: blob-animation 8s infinite alternate 4s;
}

@keyframes blob-animation {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Card styles */
.card {
    width: 100%;
    max-width: 400px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 16px;
    animation: fade-in 0.5s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    padding: 24px 24px 0 24px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #111827;
}

.card-description {
    font-size: 14px;
    text-align: center;
    color: #6b7280;
    margin-top: 6px;
}

.card-content {
    padding: 24px;
}

.card-footer {
    padding: 0 24px 24px 24px;
}

/* Form styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    position: relative;
}

.input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
}

.input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
}

.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.label {
    font-size: 14px;
    color: #6b7280;
}

.forgot-password {
    font-size: 14px;
    color: #3b82f6;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    height: 40px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-button:hover {
    background-color: #2563eb;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.submit-button:disabled {
    background-color: #93c5fd;
    cursor: not-allowed;
}

.divider {
    position: relative;
    margin: 16px 0;
    text-align: center;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e5e7eb;
}

.divider-text {
    position: relative;
    display: inline-block;
    padding: 0 8px;
    background-color: white;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.social-button {
    height: 40px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.social-button:hover {
    background-color: #f0f9ff;
}

.signup-text {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 16px;
}

.signup-link {
    color: #3b82f6;
    text-decoration: none;
}

.signup-link:hover {
    text-decoration: underline;
}

/* Toast styles */
.toast {
    position: fixed;
    top: 16px;
    right: 16px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-title {
    font-weight: 600;
    color: #111827;
}

.toast-description {
    font-size: 14px;
    color: #6b7280;
}