/**
 * Wild Texas Travel Calculator - Paid User Styles
 * Location: /travel-calc/css/calculator-paid.css
 * Version: 1.0
 * Last Updated: November 24, 2025
 * Enhancements and features for paid users
 */

/* HEADER STYLING */
.header-custom {
    background: linear-gradient(135deg, #002855 0%, #003875 100%);
    color: white;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 40, 85, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.header-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.user-welcome {
    text-align: right;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.user-plan {
    font-size: 12px !important;
    color: white !important;
    margin-top: 4px !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
}

.header-buttons {
    display: flex;
    gap: 8px;
}

.admin-btn,
.logout-btn {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.admin-btn:hover,
.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* FOOTER STYLING */
.footer-custom {
    background: linear-gradient(135deg, #002855 0%, #003875 100%);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-links {
    margin: 0 0 15px 0;
    font-size: 13px;
}

.footer-links a {
    color: white;
    text-decoration: underline !important;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
}

.footer-copy {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* PAID FEATURES - PRINT BUTTON */
.print-btn,
#print-btn,
[class*="print-btn"] {
    padding: 12px 16px !important;
    background: #10b981 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
}

.print-btn:hover,
#print-btn:hover,
[class*="print-btn"]:hover {
    background: #059669 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-3px) !important;
}

/* PAID FEATURES - COPY BUTTON */
.copy-btn,
#copy-btn,
[class*="copy-btn"] {
    padding: 12px 16px !important;
    background: #6b7280 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2) !important;
}

.copy-btn:hover,
#copy-btn:hover,
[class*="copy-btn"]:hover {
    background: #4b5563 !important;
    box-shadow: 0 4px 14px rgba(107, 114, 128, 0.4) !important;
    transform: translateY(-3px) !important;
}

/* TRIP DATA STYLING - Bold values */
.route-distance,
.route-duration {
    font-weight: 700 !important;
    color: #002855 !important;
    font-size: 16px !important;
}

.trip-data {
    font-weight: 700 !important;
    color: #002855 !important;
}

.trip-value {
    font-weight: 700 !important;
    display: inline !important;
}

.trip-summary-row {
    display: flex;
    gap: 32px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.trip-summary-item {
    font-size: 15px;
    color: #2d3748;
}

.trip-summary-label {
    font-weight: 600;
    color: #002855;
    display: inline;
}

.trip-summary-value {
    color: #666;
    display: inline;
}

/* ALTERNATIVE ROUTES */
.alternative-routes {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.alternative-routes h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #002855;
    font-weight: 700;
}

.route-option {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.route-option:hover {
    border-color: #002855;
    background: #f8fafc;
}

.route-option.active {
    border-color: #10b981;
    background: #f0fdf4;
}

/* QUICK LANDMARKS */
.quick-landmarks {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.quick-landmarks h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #002855;
    font-weight: 700;
}

.landmark-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landmark-btn {
    padding: 8px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.landmark-btn:hover {
    border-color: #002855;
    background: #002855;
    color: white;
}

/* KEYBOARD SHORTCUTS HELP */
.shortcuts-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.shortcuts-modal.active {
    display: flex;
}

.shortcuts-modal-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.shortcuts-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shortcuts-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #002855;
}

.shortcuts-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shortcuts-close:hover {
    color: #333;
}

.shortcut-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.shortcut-item:last-child {
    border-bottom: none;
}

kbd {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 4px 8px;
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin: 0 2px;
}

.shortcut-item span {
    color: #666;
    font-size: 14px;
}

/* ADMIN LINK */
.admin-link {
    padding: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    text-align: center;
    margin-top: 15px;
}

.admin-link a {
    color: #002855;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.admin-link a:hover {
    text-decoration: underline;
}

/* SPINNER */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #002855;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* BUTTON ENHANCEMENTS */
button {
    font-family: inherit;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* TRANSITIONS */
* {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}