/**
 * Tedarikçi Başvuru Sorgulama - Sayfa Stilleri
 * Turkuaz renk teması (#17a2b8)
 */

/* Input wrapper stilleri */
.input-wrapper {
    position: relative;
    cursor: text;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    z-index: 4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-wrapper:hover .input-icon {
    color: #17a2b8 !important;
    transform: translateY(-50%) scale(1.1);
}

.input-wrapper input:focus ~ .input-icon {
    color: #138496 !important;
}

.input-wrapper input:valid ~ .input-icon {
    color: #28a745 !important;
}

.input-wrapper input {
    padding-left: 50px !important;
}

/* Section Headers - Turkuaz gradient */
.section-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 25px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
}

.section-body {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Buton stilleri */
.btn-register {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.2);
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);
}

.back-to-login {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-login:hover {
    color: #17a2b8;
    transform: translateX(-5px);
}

/* Alert stilleri */
.error-message-container {
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    padding: 15px;
    background: #f8d7da;
}

.success-message-container {
    border-radius: 8px;
    border-left: 4px solid #28a745;
    padding: 15px;
    background: #d4edda;
}

/* Turkuaz renk override */
.text-primary {
    color: #17a2b8 !important;
}

/* Math Captcha Input Focus Özellikleri */
input[name="mathCaptcha"]:focus {
    outline: none;
    border-color: #138496 !important;
    box-shadow: 0 0 0 3px rgba(19, 132, 150, 0.1) !important;
}

/* Department Text Stili */
.department-text {
    display: block;
    font-size: 0.8em;
    font-weight: 400;
    color: #dc3545;
    margin-top: 2px;
    line-height: 1.2;
}

/* Modern Card Tasarımı */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}

.card-header {
    background-color: #EDF1FC;
    color: #333;
    border: 2px solid #138496 !important;
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    padding: 15px 20px;
    border-bottom: none;
}

.card-header h6 {
    color: #333 !important;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.card-header i {
    color: #138496 !important;
}

.card-body {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    padding: 20px;
    background-color: white;
}

/* Badge Gradient Stilleri */
.badge.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none;
}

.badge.bg-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    border: none;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    border: none;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    border: none;
}

/* Badge Genel Stili */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Definition List Stilleri - Daha okunaklı */
.card-body dl.row {
    margin-bottom: 0;
}

.card-body dt {
    font-weight: 600;
    color: #495057;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.card-body dd {
    padding: 0.5rem 0;
    color: #212529;
    font-size: 0.9rem;
    word-break: break-word;
}

/* İletişim Bilgileri Başlıkları */
.card-body h6.text-primary {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #17a2b8;
}

.card-body h6.text-primary i {
    margin-right: 0.5rem;
}

/* Beyanlar Listesi */
.card-body ul.list-unstyled li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body ul.list-unstyled li:last-child {
    border-bottom: none;
}

.card-body ul.list-unstyled li strong {
    flex: 1;
    color: #495057;
    font-size: 0.9rem;
}

/* Tablo Stilleri */
.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.table thead.table-light th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

/* Başvuru Bilgileri Özel Düzen */
.card-body .row.mb-3 {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.card-body .row.mb-3:last-child {
    border-bottom: none;
}

/* Results Container */
.results-container {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Şirket Bilgileri ve Üretim Bilgileri - İki Kolon Arası Boşluk */
.card-body > .row > .col-md-6:first-child {
    padding-right: 2.5rem;
    border-right: 2px solid #e9ecef;
}

.card-body > .row > .col-md-6:last-child {
    padding-left: 2.5rem;
}

/* Beyanlar için iki kolon arası boşluk */
.card-body > .row > .col-md-6 {
    padding: 0 1.5rem;
}

/* İletişim Bilgileri - Üç Kolon Arası Boşluk ve Ayırıcılar */
.card-body > .row > .col-md-4 {
    padding: 0 1.5rem;
    border-right: 2px solid #e9ecef;
}

.card-body > .row > .col-md-4:last-child {
    border-right: none;
}

/* İletişim bilgileri başlıkları için ekstra boşluk */
.card-body .col-md-4 h6.text-primary {
    margin-top: 0;
}

/* Responsive için */
@media (max-width: 768px) {
    .card-body > .row > .col-md-6:first-child {
        padding-right: 0.75rem;
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .card-body > .row > .col-md-6:last-child {
        padding-left: 0.75rem;
    }

    .card-body > .row > .col-md-6 {
        padding: 0 0.75rem;
    }

    /* İletişim bilgileri mobil */
    .card-body > .row > .col-md-4 {
        padding: 1rem 0.75rem;
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        margin-bottom: 1rem;
    }

    .card-body > .row > .col-md-4:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}
