/* TÜRSAB Acenta Sorgulama - Arama Sayfası Stilleri */

.main-content {
    padding: 30px 0;
    background-color: #f5f5f5;
}

.search-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-title {
    color: #ED1C24;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
}

.search-form {
    max-width: 1000px;
    margin: 0 auto;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.search-col {
    flex: 1;
    padding: 0 15px;
    margin-bottom: 15px;
}

.search-btn-col {
    display: flex;
    align-items: flex-end;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px;
}

.search-button {
    background-color: #ED1C24;
    color: white;
    border: none;
    padding: 11px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    width: 100%;
}

.search-button:hover {
    background-color: #d01920;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

/* Sonuç Stilleri */
.search-results-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.results-title {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.result-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    color: #666;
}

.tab-button.active {
    color: #ED1C24;
}

.tab-button.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ED1C24;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Acenta Bilgileri Sertifika Stili */
.certificate-container {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #ccc;
    padding: 30px;
    position: relative;
    background-color: #f9f9f9;
}

.certificate-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.certificate-logo {
    flex: 0 0 100px;
    margin-right: 20px;
}

.certificate-logo img {
    width: 100%;
    height: auto;
}

.certificate-title {
    flex: 1;
    text-align: center;
}

.certificate-title h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.certificate-title h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

.certificate-title h2 {
    font-size: 22px;
    color: #333;
}

.certificate-body, .certificate-footer {
    margin-bottom: 20px;
}

.certificate-row {
    display: flex;
    margin-bottom: 10px;
}

.certificate-label {
    flex: 0 0 150px;
    font-weight: bold;
    color: #555;
}

.certificate-value {
    flex: 1;
    padding-left: 10px;
}

.certificate-note {
    font-size: 12px;
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-style: italic;
}

/* Vergi Levhası Stili */
.tax-certificate {
    max-width: 800px;
    margin: 0 auto;
    border: 1px dashed #000;
    padding: 20px;
    background-color: #f9f9f9;
}

.tax-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.tax-header h2 {
    font-size: 22px;
    color: #333;
    text-align: center;
    flex: 1;
}

.tax-logo {
    flex: 0 0 100px;
}

.tax-logo img {
    width: 100%;
    height: auto;
}

.tax-body {
    margin-bottom: 20px;
}

.tax-row {
    display: flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tax-label {
    flex: 0 0 150px;
    font-weight: bold;
    background-color: #eee;
    padding: 8px;
    font-size: 13px;
}

.tax-value {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    min-height: 36px;
}

.tax-activity {
    font-size: 12px;
}

.tax-table {
    margin-top: 20px;
    border: 1px solid #ddd;
}

.tax-table-header {
    display: flex;
    background-color: #eee;
    font-weight: bold;
}

.tax-table-row {
    display: flex;
    border-top: 1px solid #ddd;
}

.tax-table-cell {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-right: 1px solid #ddd;
}

.tax-table-cell:last-child {
    border-right: none;
}

.tax-footer {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #777;
}

/* Responsive */
@media (max-width: 991px) {
    .search-row {
        flex-direction: column;
    }
    
    .search-col {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
    
    .search-button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    
    .tab-button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .certificate-container,
    .tax-certificate {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .certificate-header,
    .certificate-row,
    .tax-row {
        flex-direction: column;
    }
    
    .certificate-logo {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .certificate-title {
        text-align: center;
    }
    
    .certificate-title h3 {
        font-size: 18px;
    }
    
    .certificate-title h2 {
        font-size: 20px;
    }
    
    .certificate-label,
    .tax-label {
        flex: 0 0 100%;
        margin-bottom: 5px;
    }
    
    .certificate-value,
    .tax-value {
        flex: 0 0 100%;
    }
    
    .tax-header {
        flex-direction: column;
        align-items: center;
    }
    
    .tax-header h2 {
        margin-bottom: 15px;
    }
    
    .tax-table-header,
    .tax-table-row {
        font-size: 12px;
    }
    
    .tax-table-cell {
        padding: 8px 5px;
    }
}

@media (max-width: 480px) {
    .search-title {
        font-size: 20px;
    }
    
    .search-container,
    .search-results-container {
        padding: 15px;
    }
    
    .result-tabs {
        display: flex;
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .tab-button.active:after {
        display: none;
    }
    
    .certificate-title h3 {
        font-size: 16px;
    }
    
    .certificate-title h2 {
        font-size: 18px;
    }
    
    .certificate-label,
    .tax-label {
        font-size: 13px;
    }
    
    .tax-table-header,
    .tax-table-row {
        font-size: 10px;
    }
}
