/* ============================================
   GLOBAL STYLES - GCO QR GENERATOR
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
}

/* Hide breadcrumb on QR pages */
body.gco-qr-page .breadcrumb,
body.gco-qr-page .breadcrumbs,
body.gco-qr-page .site-breadcrumb,
body.gco-qr-page .page-breadcrumb,
body.gco-qr-page .axil-breadcrumb-area {
    display: none !important;
}

/* Container */
.gco-qr-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Buttons */
.gco-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.gco-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.gco-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.gco-btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.gco-btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.gco-btn-danger {
    background: var(--danger-color);
    color: white;
}

.gco-btn-google {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.gco-btn-google:hover {
    border-color: var(--primary-color);
}

/* Cards */
.gco-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: none;
}

.gco-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: var(--text-dark);
}

/* Form Elements */
.gco-form-group {
    margin-bottom: 24px;
}

.gco-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.gco-form-group input,
.gco-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.gco-form-group input:focus,
.gco-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.gco-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.gco-form-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 14px;
}

/* Modal */
.gco-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gco-modal.active {
    display: flex;
}

.gco-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
}

.gco-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.gco-modal-header h3 {
    margin: 0;
    font-size: 24px;
}

.gco-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

/* Alert */
.gco-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gco-alert.success {
    background: #d1fae5;
    color: #065f46;
}

.gco-alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.gco-alert.warning {
    background: #fef3c7;
    color: #92400e;
}

.gco-alert.info {
    background: #dbeafe;
    color: #1e40af;
}

/* Loading */
.gco-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: gco-spin 0.8s linear infinite;
}

@keyframes gco-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .gco-qr-container {
        padding: 0 16px;
    }
}

