/* 123B Theme Custom Styles */

/* Additional animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glx-card,
.glx-step,
.glx-feature-item {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* FAQ toggle styles */
.glx-faq-answer {
    display: none;
}

.glx-faq-item.active .glx-faq-answer {
    display: block;
}

.glx-faq-item.active .glx-faq-question span:last-child {
    transform: rotate(45deg);
}

/* Container utility */
.glx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Additional button styles */
.glx-btn-outline {
    background: transparent;
    border: 2px solid currentColor;
}

/* Timeline styles */
.glx-timeline {
    position: relative;
    padding-left: 30px;
}

.glx-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ffd700;
}

.glx-timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.glx-timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 50%;
}

/* Table styles */
.glx-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.glx-table th,
.glx-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.glx-table th {
    background: #1a1a2e;
    color: #fff;
}

.glx-table tr:hover {
    background: #f5f5f5;
}

/* Alert styles */
.glx-alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.glx-alert-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.glx-alert-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.glx-alert-warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

/* Form styles */
.glx-form-group {
    margin-bottom: 20px;
}

.glx-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.glx-form-group input,
.glx-form-group textarea,
.glx-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.glx-form-group input:focus,
.glx-form-group textarea:focus,
.glx-form-group select:focus {
    outline: none;
    border-color: #ffd700;
}

/* Badge styles */
.glx-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.glx-badge-hot {
    background: #f44336;
    color: #fff;
}

.glx-badge-new {
    background: #4caf50;
    color: #fff;
}

/* Social links */
.glx-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.glx-social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s;
}

.glx-social-links a:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* Loading spinner */
.glx-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .glx-header,
    .glx-footer,
    .glx-cta {
        display: none;
    }
    
    .glx-main {
        margin-top: 0;
    }
}
