/* Ortaklıktan Çıkanlar Listesi Styles */

.ortakliktan-cikanlar {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

/* Title Section */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: bold;
    color: #1a365d;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.description {
    font-size: 16px;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

/* Query Form */
.query-form-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #e5e7eb;
}

.query-form {
    max-width: 100%;
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: end;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-button-row {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.form-select,
.form-input {
    width: 100%;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-input {
    min-width: 200px;
    background-image: none;
    padding-right: 12px;
}

.query-button {
    background: #1a365d;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.query-button:hover {
    background: #2c5282;
}

.query-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Results Section */
.query-results-container {
    margin-top: 40px;
}

.query-results {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-details {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
}

.result-details h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1a365d;
    margin: 0 0 15px 0;
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    margin-right: 15px;
}

.detail-value {
    color: #6b7280;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ortakliktan-cikanlar {
        padding: 20px 10px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .query-form-container {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .query-button {
        width: 100%;
        padding: 14px;
    }
    
    .form-input {
        min-width: auto;
    }
    
    .result-details {
        padding: 15px;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 20px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .form-select,
    .form-input {
        font-size: 14px;
        padding: 10px;
    }
    
    .query-button {
        font-size: 14px;
        padding: 12px;
    }
}
