/* Equivalent of Tailwind CSS utilities */

/* Height */
.h-700 {
    height: 700px; /* h-[700px] */
}

/* Background Size */
.bg-cover {
    background-size: cover; /* bg-cover */
}

/* Text Color */
.text-white {
    color: white; /* text-white */
}

/* Medium Screen Padding Top */
@media (min-width: 768px) { /* md: */
    .md\:pt-40 {
        padding-top: 40px; /* md:pt-40 */
    }
}

/* Medium Screen Padding Bottom */
@media (min-width: 768px) { /* md: */
    .md\:pb-28 {
        padding-bottom: 28px; /* md:pb-28 */
    }
}

/* Vertical Padding */
.py-20 {
    padding-top: 20px; /* py-20 */
    padding-bottom: 20px; /* py-20 */
}

/* Background Repeat */
.bg-no-repeat {
    background-repeat: no-repeat; /* bg-no-repeat */
}

/* Large Screen Margin Top */
@media (min-width: 1024px) { /* lg: */
    .lg\:mt-40 {
        margin-top: 40px; /* lg:mt-40 */
    }
}

/* Small Screen Margin Top */
@media (min-width: 640px) { /* sm: */
    .sm\:mt-44 {
        margin-top: 44px; /* sm:mt-44 */
    }
}

/* Default Margin Top */
.mt-20 {
    margin-top: 20px; /* mt-20 */
}

/* Equivalent of Tailwind CSS utility for max-width */

/* Large Screen Max Width (example for a max-width of 1280px) */
@media (min-width: 1024px) { /* lg: */
    .lg\:max-w-xl {
        max-width: 1280px; /* Replace with the desired value of --breakpoint-xl */
    }
}

/* Example of using a custom property */
:root {
    --breakpoint-xl: 1280px; /* Define the custom property */
}

@media (min-width: 1024px) { /* lg: */
    .lg\:max-w-xl {
        max-width: var(--breakpoint-xl); /* Use the custom property */
    }
}

.grid {
    display: grid;
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}


.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.form-control {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #eceff8;
    padding: 12px 10px;
    width: 100%;
    font-family: 'Rufina', serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--warning);
    box-shadow: 0 0 0 3px rgba(241, 196, 14, 0.1);
    outline: none;
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-placeholder);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.25rem;
}

.password-toggle:hover {
    color: var(--text-secondary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #0004;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-900);
    font-size: 0.75rem;
    font-weight: bold;
}

a.forgot-link {
    color: var(--primary) !important;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

a.forgot-link:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

.btn {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-warning {
    background: var(--gradient-accent);
    color: var(--dark-900);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 196, 14, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 1rem;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.social-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.75rem;
    font-size: 0.875rem;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* User Type Selection */
.user-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.user-type-option {
    cursor: pointer;
}

.user-type-option input[type="radio"] {
    display: none;
}

.user-type-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.user-type-option:hover .user-type-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-type-option input[type="radio"]:checked + .user-type-card {
    background: rgba(241, 196, 14, 0.1);
    border-color: rgba(241, 196, 14, 0.3);
    color: var(--warning);
}


.form-group {
    margin-bottom: 1.5rem;
}


/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .auth-tabs {
        flex-direction: column;
    }

    .tab-btn {
        padding: 1rem;
    }

    .user-type-grid {
        grid-template-columns: 1fr;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}
