/* =========================================
   CUSTOM PREMIUM MODAL CSS
   ========================================= */

.custom-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal--active {
    opacity: 1;
    visibility: visible;
}

.custom-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.custom-modal__content {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10000;
}

.custom-modal__content--large {
    max-width: 680px;
}

.custom-modal--active .custom-modal__content {
    transform: translateY(0) scale(1);
}

.custom-modal__close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.custom-modal__close:hover {
    background-color: #f1f5f9;
}

.custom-modal__close svg {
    width: 14px;
    height: 14px;
    fill: #64748b;
}

.custom-modal__header {
    padding: 1.5rem 1.75rem 0.5rem;
}

.custom-modal__header h3 {
    font-family: var(--font-heading, sans-serif);
    font-size: 1.25rem;
    color: #0f172a;
    margin: 0;
}

.custom-modal__body {
    padding: 0.75rem 1.75rem 1.5rem;
}

.custom-modal__body p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.custom-modal__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.modal-btn {
    padding: 0.6rem 1.25rem;
    font-family: var(--font-body, inherit);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.modal-btn--cancel {
    background: transparent;
    color: #64748b;
}

.modal-btn--cancel:hover {
    background: #e2e8f0;
    color: #334155;
}

.modal-btn--confirm {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.modal-btn--confirm:hover {
    background: #059669;
    transform: translateY(-1px);
}

.modal-btn--danger {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.modal-btn--danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* =========================================
   MODAL FORM COMPONENTS (ELİTE DESIGN)
   ========================================= */

.modal-form {
    padding: 1.25rem 1.75rem;
}

.modal-group {
    margin-bottom: 1.25rem;
}

.modal-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.modal-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.modal-input:focus {
    outline: none;
    border-color: var(--color-gold, #c4a163);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(196, 161, 99, 0.1);
}

.modal-file {
    width: 100%;
    padding: 0.6rem;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1.5px dashed #cbd5e1;
    cursor: pointer;
    font-size: 0.85rem;
}

.modal-file:hover {
    border-color: var(--color-gold, #c4a163);
}

.modal-radio-group {
    display: flex;
    gap: 1.5rem;
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
}

.modal-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
}

.modal-radio input {
    accent-color: var(--color-gold, #c4a163);
    width: 18px;
    height: 18px;
}

.modal-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .modal-grid-2 {
        grid-template-columns: 1fr;
    }
}

.admin-badge--video {
    background-color: #f97316;
    color: #fff;
}
