/**
 * Frontend Styles
 *
 * @package Eraclito_PDB_Pro
 * @since 1.7.0
 */

/* Tracking section */
.pdb-tracking-section {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 3px;
}

.pdb-tracking-section h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
}

.pdb-tracking-section h4 {
    color: #666;
    margin-bottom: 10px;
}

.pdb-tracking-section p {
    line-height: 1.6;
}

.pdb-tracking-code {
    font-weight: bold;
    color: #2271b1;
}

/* Tracking table */
.pdb-tracking-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
}

.pdb-tracking-table thead {
    background: #f6f7f7;
}

.pdb-tracking-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.pdb-tracking-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.pdb-tracking-table tbody tr:nth-child(odd) {
    background: #fafafa;
}

.pdb-tracking-table tbody tr:hover {
    background: #f5f5f5;
}

/* Tracking link */
.pdb-tracking-link {
    display: inline-block;
    margin-top: 15px;
    color: #2271b1;
    text-decoration: none;
}

.pdb-tracking-link:hover {
    text-decoration: underline;
}

/* No tracking message */
.pdb-no-tracking {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #ffb900;
    margin: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pdb-tracking-table {
        font-size: 14px;
    }

    .pdb-tracking-table th,
    .pdb-tracking-table td {
        padding: 8px;
    }
}

/* Checkout field */
.form-row.pdb-presso-field {
    clear: both;
}

.form-row.pdb-presso-field label {
    font-weight: 600;
}

.form-row.pdb-presso-field input {
    width: 100%;
}
