/* Professional Gold Rate Display - Styling */

.goldrate-professional-container {
    max-width: 1200px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: #333;
}

/* Header */
.gr-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 3px solid #d4af37;
}

.gr-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.gr-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Main Price Display */
.gr-main-prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gr-price-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gr-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

.gr-price-card.gr-24k {
    border-left: 5px solid #d4af37;
}

.gr-price-card.gr-22k {
    border-left: 5px solid #c9a03f;
}

.gr-price-card.gr-trend {
    border-left: 5px solid #2196F3;
}

.gr-carat-label {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.gr-price-display {
    display: flex;
    align-items: baseline;
    margin: 15px 0;
}

.gr-currency {
    font-size: 1.5rem;
    color: #d4af37;
    margin-right: 5px;
}

.gr-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.gr-unit {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.gr-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
}

.gr-secondary small {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
}

/* Trend Card */
.gr-trend-display {
    font-size: 2rem;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gr-trend-symbol {
    font-size: 2.5rem;
}

.gr-trend-value {
    font-weight: 700;
    font-size: 2rem;
}

.gr-trend-display.gr-up {
    color: #4CAF50;
}

.gr-trend-display.gr-down {
    color: #f44336;
}

.gr-trend-price {
    font-size: 1.1rem;
    font-weight: 600;
}

.gr-trend-display.gr-up .gr-trend-price {
    color: #4CAF50;
}

.gr-trend-display.gr-down .gr-trend-price {
    color: #f44336;
}

/* Chart Section */
.gr-chart-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gr-chart-header {
    margin-bottom: 25px;
}

.gr-chart-header h3 {
    font-size: 1.5rem;
    margin: 0 0 8px 0;
    color: #1a1a1a;
}

.gr-chart-info {
    color: #999;
    font-size: 0.9rem;
}

/* Comparison Table */
.gr-comparison-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gr-comparison-section h3 {
    margin-top: 0;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.gr-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.gr-comparison-table thead {
    background-color: #f5f5f5;
    border-bottom: 2px solid #d4af37;
}

.gr-comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
}

.gr-comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.gr-comparison-table tbody tr:hover {
    background-color: #fafafa;
}

.gr-comparison-table .gr-price {
    font-weight: 600;
    color: #d4af37;
    font-size: 1.1rem;
}

.gr-comparison-table .gr-diff {
    color: #2196F3;
    font-weight: 600;
}

/* Info Section */
.gr-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gr-info-box {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #d4af37;
}

.gr-info-box h4 {
    margin: 0 0 10px 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.gr-info-box p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.gr-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.gr-badge.gr-live {
    background-color: #4CAF50;
    color: white;
}

/* Factors Section */
.gr-factors-section {
    margin-bottom: 40px;
}

.gr-factors-section h3 {
    text-align: center;
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.gr-factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gr-factor {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

.gr-factor:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.15);
}

.gr-factor-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.gr-factor h4 {
    margin: 15px 0 10px 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.gr-factor p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.gr-faq-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.gr-faq-section h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-top: 0;
}

.gr-faq-items {
    margin-top: 25px;
}

.gr-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.gr-faq-item:last-child {
    border-bottom: none;
}

.gr-faq-item h4 {
    margin: 0 0 10px 0;
    color: #d4af37;
    font-size: 1.05rem;
}

.gr-faq-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.gr-cta-section {
    background: linear-gradient(135deg, #d4af37 0%, #c9a03f 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.gr-cta-section h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.gr-cta-section p {
    margin: 0 0 20px 0;
    font-size: 1.05rem;
    opacity: 0.95;
}

/* Buttons */
.gr-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gr-btn-primary {
    background: white;
    color: #d4af37;
}

.gr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

    .gr-main-prices {
        grid-template-columns: 1fr;
    }

    .gr-chart-section,
    .gr-comparison-section,
    .gr-faq-section,
    .gr-cta-section {
        padding: 20px;
    }

    .gr-amount {
        font-size: 2rem;
    }

    .gr-price-card {
        padding: 20px;
    }

    .gr-comparison-table th,
    .gr-comparison-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .gr-factors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .goldrate-professional-container {
        margin: 15px;
    }

    .gr-title {
        font-size: 1.5rem;
    }

    .gr-header {
        margin-bottom: 25px;
    }

    .gr-currency {
        font-size: 1.2rem;
    }

    .gr-amount {
        font-size: 1.5rem;
    }

    .gr-factors-grid {
        grid-template-columns: 1fr;
    }

    .gr-main-prices {
        gap: 15px;
    }
}

/* Print Styles */
@media print {
    .gr-cta-section,
    .gr-btn {
        display: none;
    }

    .goldrate-professional-container {
        max-width: 100%;
    }
}
