/* Bootstrap Custom Overrides for 99exhibition */

:root {
    --primary-color: #ff6d52;
    --primary-hover: #e55e46;
}

body {
    background-color: #f7f8fb;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Login/Reg Box Container */
.auth-box {
    max-width: 600px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(254, 105, 62, 0.25);
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

/* Role Selection Cards */
.role-card {
    border: 1px solid #eee;
    border-radius: 12px;
    /* Slightly less rounded for compact look */
    padding: 20px 15px;
    /* Reduced padding */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
    /* Reduced height */
}

.role-card:hover {
    transform: translateY(-5px);
    /* Subtle hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.role-card.active {
    border-color: var(--primary-color);
    background-color: #fff5f0;
    box-shadow: 0 0 0 3px rgba(255, 109, 82, 0.15);
}

.role-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.15rem;
    /* Slightly smaller title */
}

.role-desc {
    color: #64748b;
    font-size: 0.9rem;
    /* Slightly smaller text */
    line-height: 1.4;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Social Login Buttons */
.btn-social-sq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 5px;
    font-size: 16px;
    color: #fff !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-social-sq-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 2px;
    font-size: 10px;
    color: #fff !important;
    border-radius: 2px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-social-sq-sm:hover {
    transform: scale(1.1);
    opacity: 0.9;
    color: #fff !important;
}

.btn-facebook {
    background-color: #1877F2;
}

.btn-x {
    background-color: #000000;
}

.btn-linkedin {
    background-color: #0077B5;
}

.btn-instagram {
    background-color: #E4405F;
}

.btn-whatsapp {
    background-color: #25D366;
}

/* Ensure no text-decoration on hover for these specific buttons */
.btn-social-icon:hover,
.btn-social-icon:focus {
    text-decoration: none;
    color: #fff;
}

/* Restore Legacy Input Sizing (Layui-like) */
.auth-box .form-control,
.auth-box .form-select,
.auth-card .form-control,
.auth-card .form-select {
    height: 55px;
    /* Increased from 45px */
    font-size: 16px;
    /* Increased from 14px */
    border-radius: 8px;
    /* More rounded as per screenshot */
    padding-left: 20px;
}


.auth-box .btn,
.auth-card .btn {
    height: 55px;
    /* Increased from 45px */
    font-size: 18px;
    /* Increased from 16px */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}


/* Validation Tips */
.tip-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.tip-right {
    color: #198754;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}