/* PEP Distance DDP - Public Styles */

/* Reset */
.pep-ddp-page-wrapper * {
    box-sizing: border-box;
}

/* Container */
.pep-ddp-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
.pep-search-container h1,
.pep-my-reports-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Buttons */
.pep-button {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.pep-button-primary {
    background: #003d7a;
    color: white;
}

.pep-button-primary:hover {
    background: #002952;
    color: white;
}

.pep-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.pep-button-large {
    padding: 15px 30px;
    font-size: 18px;
}

/* Success Page */
.pep-success-message {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    background: white;
    border: 2px solid #28a745;
    border-radius: 8px;
    text-align: center;
}

.pep-success-message h1 {
    color: #28a745;
    font-size: 36px;
    margin-bottom: 20px;
}

.pep-success-message p {
    font-size: 18px;
    color: #666;
}

.pep-success-message a {
    color: #003d7a;
    font-weight: 600;
}

/* Loading State */
.pep-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 61, 122, 0.1);
    border-radius: 50%;
    border-top-color: #003d7a;
    animation: pep-spin 1s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .pep-search-container,
    .pep-my-reports-container {
        padding: 15px;
    }
    
    .pep-search-input-group {
        flex-direction: column;
    }
    
    #pep-search-input {
        width: 100%;
    }
    
    .pep-preview-actions {
        flex-direction: column;
    }
    
    .pep-button-large {
        width: 100%;
    }
    
    .pep-report-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    .pep-search-form,
    .pep-report-actions,
    .pep-preview-actions {
        display: none;
    }
}
