/**
 * GPSR Module - Frontend Styles
 */

/* GPSR Container */
.gpsr-container {
    padding: 20px;
}

.gpsr-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.gpsr-title i {
    color: #3498db;
    margin-right: 10px;
}

/* Info Box */
.gpsr-info-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

/* Section */
.gpsr-section {
    margin-bottom: 8px;
}

.gpsr-section:last-child {
    margin-bottom: 0;
}

.gpsr-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.gpsr-section-title i {
    color: #3498db;
    margin-right: 8px;
}

/* EU Representative Section */
.gpsr-eu-representative {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
}

.gpsr-eu-representative .gpsr-section-title {
    color: #856404;
    border-bottom-color: #ffc107;
}

.gpsr-eu-representative .gpsr-section-title i {
    color: #ffc107;
}

/* Safety Document Section */
.gpsr-safety-document {
    background: #e7f4ff;
    border-left: 4px solid #2196F3;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.gpsr-safety-document .gpsr-section-title {
    color: #0d47a1;
    border-bottom-color: #2196F3;
}

.gpsr-safety-document .gpsr-section-title i {
    color: #2196F3;
}

.gpsr-pdf-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #2196F3;
    color: white !important;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.gpsr-pdf-link:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.gpsr-pdf-link i {
    margin-right: 8px;
    font-size: 16px;
}

/* Details */
.gpsr-details {
    padding: 10px 0;
}

.gpsr-row {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.6;
}

.gpsr-label {
    font-weight: 600;
    color: #555;
    min-width: 140px;
    flex-shrink: 0;
}

.gpsr-value {
    color: #333;
    flex: 1;
    padding-left: 10px;
}

.gpsr-value a {
    color: #3498db;
    text-decoration: none;
}

.gpsr-value a:hover {
    text-decoration: underline;
}

/* Footer */
.gpsr-footer {
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px solid #ddd;
}

.gpsr-legal-notice {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0;
}

.gpsr-legal-notice i {
    margin-right: 5px;
    color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .gpsr-row {
        flex-direction: column;
    }
    
    .gpsr-label {
        margin-bottom: 4px;
        min-width: auto;
    }
    
    .gpsr-container {
        padding: 15px;
    }
    
    .gpsr-title {
        font-size: 20px;
    }
}
