﻿.correios-app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.correios-tracking-form,
.correios-price-comparison,
.correios-cep-search,
.correios-comparison-sites {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.correios-app-title {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.correios-form-group {
    margin-bottom: 15px;
}

.correios-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

.correios-form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.correios-form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.correios-submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.correios-submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.correios-submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.correios-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.correios-tracking-results,
.correios-cep-results,
.correios-price-results {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.correios-tracking-event {
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #2ecc71;
}

.correios-tracking-event:last-child {
    border-left-color: #e74c3c;
}

.correios-event-date {
    font-weight: bold;
    color: #34495e;
}

.correios-event-status {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 5px 0;
}

.correios-event-location {
    color: #7f8c8d;
    font-style: italic;
}

.correios-cep-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.correios-cep-item {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.correios-cep-label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 5px;
}

.correios-cep-value {
    color: #2c3e50;
}

.correios-comparison-site {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.correios-site-logo {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.correios-site-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.correios-site-info {
    flex: 1;
}

.correios-site-name {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.correios-site-description {
    color: #34495e;
    margin-bottom: 15px;
    line-height: 1.5;
}

.correios-site-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.correios-feature-tag {
    background: #3498db;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.correios-affiliate-link {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.correios-affiliate-link:hover {
    background: linear-gradient(135deg, #219a52, #1e8449);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.correios-error {
    background: #fdecea;
    color: #e74c3c;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #e74c3c;
    margin: 15px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .correios-app-container {
        padding: 15px;
    }
    
    .correios-comparison-site {
        flex-direction: column;
    }
    
    .correios-site-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .correios-cep-info {
        grid-template-columns: 1fr;
    }
}