/* Bildiri Gönderim Formu Ana Stilleri */
.bildiri-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

/* Progress Indicator - 4 Nokta Sistemi */
.bildiri-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
}

.bildiri-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-step .step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-step.active .step-indicator {
    background: #004767;
    box-shadow: 0 0 0 4px rgba(0, 71, 103, 0.15), 0 2px 8px rgba(0, 71, 103, 0.2);
    transform: scale(1.1);
}

.progress-step.completed .step-indicator {
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.progress-step .step-indicator::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    display: block;
}

.progress-step.completed .step-indicator::before {
    content: '✓';
    font-size: 16px;
    color: #fff;
    background: transparent;
    font-weight: bold;
    line-height: 1;
}

.step-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 8px;
    line-height: 1.4;
}

.progress-step.active .step-label {
    color: #004767;
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: #10b981;
}

/* Form Step Kartları */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.form-step.active .card {
    box-shadow: 0 8px 24px rgba(0, 71, 103, 0.15);
}

.form-card .card-header h4 {
    color: #fff!important;
}

.form-step .card-header {
    background: linear-gradient(135deg, #004767 0%, #003d56 100%);
    color: #fff;
    padding: 24px 30px;
    border-bottom: none;
    position: relative;
}

.form-step .card-header h4 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.5px;
}

.form-step .card-body,
.form-card .card-body {
    padding: 35px;
    background: #fff;
}

/* Progress Indicator - Kart İçi */
.form-step .card-header .step-progress-dots {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}

.form-step .card-header .step-progress-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.form-step .card-header .step-progress-dots .dot.active {
    background: #fff;
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Form Grupları */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label .text-danger {
    color: #ef4444;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #004767;
    box-shadow: 0 0 0 3px rgba(0, 71, 103, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
}

.form-text.text-muted {
    color: #6b7280;
}

.form-text.text-danger {
    color: #ef4444;
}

/* Yazar Form Kartları */
.yazar-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.yazar-item:hover {
    border-color: #004767;
    box-shadow: 0 4px 12px rgba(0, 71, 103, 0.15);
    transform: translateY(-2px);
}

.yazar-item .row {
    margin: 0 -15px;
}

.yazar-item .row > [class*="col-"] {
    padding: 0 15px;
    margin-bottom: 15px;
}

.yazar-item .row > [class*="col-"]:last-child {
    margin-bottom: 0;
}

/* Yazar form satırları arası boşluk */
.yazar-item .form-group {
    margin-bottom: 0;
}

/* Checkbox Stilleri */
.custom-control {
    padding-left: 1.75rem;
    margin-bottom: 0;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1.25rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.custom-control-label::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background: #004767;
    border-color: #004767;
}

.custom-control-label::after {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.5rem;
    border: solid #fff;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-control-input:checked ~ .custom-control-label::after {
    opacity: 1;
}

/* Dosya Yükleme Alanı */
.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
    position: relative;
}

.file-upload-area:hover {
    border-color: #004767;
    background: #f0f7fa;
}

.file-upload-area.dragover {
    border-color: #004767;
    background: #e0eff3;
    transform: scale(1.02);
}

.file-upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    pointer-events: none;
}

.upload-placeholder i {
    color: #9ca3af;
    margin-bottom: 15px;
}

.upload-placeholder p {
    margin: 10px 0;
    color: #374151;
    font-weight: 500;
}

.upload-placeholder small {
    color: #6b7280;
    font-size: 12px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 15px;
}

.uploaded-file i {
    color: #004767;
    margin-right: 10px;
    font-size: 20px;
}

.uploaded-file .file-name {
    flex: 1;
    color: #374151;
    font-weight: 500;
}

.uploaded-files-list {
    margin-top: 15px;
}

.uploaded-files-list .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Butonlar */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.btn-primary {
    background: #03BFCB;
    color: #fff;
    border-color: #03BFCB;
}

.btn-primary:hover {
    background: #02a5b0;
    border-color: #02a5b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3, 191, 203, 0.3);
}

.btn-secondary {
    background: #475968;
    color: #fff;
    border-color: #475968;
}

.btn-secondary:hover {
    background: #3a4854;
    border-color: #3a4854;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(71, 89, 104, 0.3);
}

.btn-success {
    background: #10b981;
    color: #fff;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Form Navigasyon */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 30px;
}

.form-navigation .btn-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.form-navigation .btn {
    min-width: 140px;
    height: 44px;
    justify-content: center;
    align-items: center;
    gap: 0;
    line-height: 1;
    padding: 12px 24px;
}

.form-navigation .btn i{
    margin-right: 3px!important;
}

/* Responsive */
@media (max-width: 768px) {
    .bildiri-progress {
        padding: 0 10px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .form-step .card-header {
        padding: 15px 20px;
    }
    
    .form-step .card-body {
        padding: 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-navigation .btn-group {
        width: 100%;
        flex-direction: column;
    }
    
    .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Başarı Modal Stilleri */
#bildiri-basarili-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#bildiri-basarili-modal .modal-header {
    border-radius: 12px 12px 0 0;
    padding: 25px 30px;
}

#bildiri-basarili-modal .modal-header .modal-title {
    font-size: 22px;
    font-weight: 600;
}

#bildiri-basarili-modal .modal-header .close {
    font-size: 28px;
    font-weight: 300;
    font-size: 28px;
    font-weight: 300;
    position: absolute;
    right: 10px;
    top: 18px;
    border-radius: 20px;
    background: #fff;
    width: 40px;
    height: 40px;
    color: #000;      
    cursor: pointer;
}

#bildiri-basarili-modal .modal-header .close:hover {
    opacity: 1;
}

#bildiri-basarili-modal .success-icon {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#bildiri-basarili-modal .bildiri-bilgileri {
    border-left: 4px solid #03BFCB;
}

#bildiri-basarili-modal .modal-footer {
    padding: 20px 30px;
}

#bildiri-basarili-modal .modal-footer .btn {
    padding: 10px 20px;
    font-weight: 500;
    text-align: center;
}

/* Özel Uyarı Kutuları */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Karakter Sayacı */
.char-counter {
    text-align: right;
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.danger {
    color: #ef4444;
}

/* Unvan Diğer Input */
.unvan-diger-input {
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Yazar Sil Butonu */
.yazar-sil-btn {
    margin-top: 15px;
    display: none; /* Varsayılan olarak gizli, JavaScript ile gösterilecek */
}

/* Ek Dosyalar Butonu */
#ek-dosya-upload .btn {
    margin-top: 15px;
}