/* Hukuk Köşesi Sayfası Stilleri */

.hukuk-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3;
}

.hukuk-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Yan Menü Stilleri */
.sidebar-menu {
    flex: 0 0 250px;
}

.tab-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
}

.tab-item {
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
}

.tab-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.tab-item:hover {
    background-color: #e9e9e9;
}

.tab-item.active {
    background-color: #0056b3;
    color: white;
    border-left: 3px solid #003a75;
}

/* İçerik Alanı Stilleri */
.tab-content {
    flex: 1;
    min-width: 0;
}

.tab-pane {
    display: none;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Belge Listesi Stilleri */
.documents-container {
    margin-top: 20px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.document-item:hover {
    background-color: #f9f9f9;
}

.document-info {
    flex: 1;
}

.document-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #0056b3;
}

.document-description {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 14px;
}

.document-date {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.document-actions {
    margin-left: 20px;
}

.document-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.document-link:hover {
    background-color: #003a75;
}

.document-link i {
    margin-right: 5px;
}

.no-documents {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Hukuki Destek Formu Stilleri */
.hukuki-destek-wrapper {
    max-width: 100%;
}

.intro {
    margin-bottom: 30px;
    line-height: 1.6;
}

.destek-konulari {
    margin-bottom: 40px;
}

.konular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.konu-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.konu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.konu-card .icon {
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 15px;
}

.konu-card h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.konu-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.hukuki-talep-formu {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 5px;
}

.talep-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.required {
    color: #dc3545;
}

.onam-group {
    margin-top: 10px;
}

.radio-group {
    margin-top: 5px;
}

.radio-option {
    margin-bottom: 10px;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    width: auto;
}

.form-actions {
    grid-column: span 2;
    text-align: center;
    margin-top: 20px;
}

.btn-submit {
    padding: 10px 20px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #003a75;
}

.form-error {
    grid-column: span 2;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message {
    text-align: center;
    padding: 30px;
}

.success-message i {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    margin: 0 0 10px 0;
    color: #28a745;
}

.success-message p {
    margin: 0;
    color: #666;
}

/* Document Preview Container */
.document-preview-container {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.document-preview-container iframe {
    border: none;
    width: 100%;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hukuk-content {
        flex-direction: column;
    }
    
    .sidebar-menu {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .talep-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width,
    .form-actions {
        grid-column: span 1;
    }
    
    .konular-grid {
        grid-template-columns: 1fr;
    }
}
