/* =========================================================
   MUSICALWORLD — INDEX
   Arquivo: modal.css

   Responsabilidade:
   Modal inferior utilizado para seleção de ações
   relacionadas à criação/publicação de conteúdo.
   ========================================================= */

/* =========================================================
   MODAL BOTTOM SHEET
   ========================================================= */

.modal-overlay {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(15, 23, 42, 0.55);

    backdrop-filter: blur(5px);

    z-index: 1000;

    justify-content: center;
    align-items: flex-end;

    opacity: 0;

    transition:
        opacity 0.3s ease;
}

.modal-overlay.ativo {
    display: flex;

    opacity: 1;
}

.modal-sheet {
    width: 100%;
    max-width: 480px;

    background-color: #ffffff;

    border-top-left-radius: 28px;
    border-top-right-radius: 28px;

    border-top: 1px solid #e5e7eb;

    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.15);

    padding: 16px 20px 36px 20px;

    display: flex;

    flex-direction: column;

    gap: 18px;

    transform: translateY(100%);

    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.ativo .modal-sheet {
    transform: translateY(0);
}

.modal-handle {
    width: 40px;
    height: 4px;

    background-color: #cbd5e1;

    border-radius: 2px;

    align-self: center;

    margin-bottom: -2px;
}

.modal-header h3 {
    font-size: 18px;

    font-weight: 700;

    color: #0f172a;

    margin-bottom: 4px;

    letter-spacing: -0.3px;
}

.modal-header p {
    font-size: 13px;

    color: #64748b;
}

.modal-options-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.modal-option-item {
    display: flex;

    align-items: center;

    gap: 14px;

    background:
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #f1f5f9 100%
        );

    border: 1px solid #e2e8f0;

    padding: 12px 14px;

    border-radius: 16px;

    cursor: pointer;

    text-align: left;

    width: 100%;

    transition: all 0.25s ease;
}

.modal-option-item:hover {
    background:
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #f1f5f9 100%
        );

    border-color: #2563eb;

    transform: translateY(-2px);

    box-shadow:
        0 4px 16px rgba(37, 99, 235, 0.12);
}

.modal-option-icon {
    width: 44px;
    height: 44px;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.modal-option-icon svg {
    width: 22px;
    height: 22px;
}

.singer-icon {
    background: rgba(37, 99, 235, 0.1);

    color: #2563eb;

    border: 1px solid rgba(37, 99, 235, 0.25);
}

.musician-icon {
    background: rgba(5, 150, 105, 0.1);

    color: #059669;

    border: 1px solid rgba(5, 150, 105, 0.25);
}

.event-icon {
    background: rgba(217, 119, 6, 0.1);

    color: #d97706;

    border: 1px solid rgba(217, 119, 6, 0.25);
}

.song-icon {
    background: rgba(225, 29, 72, 0.1);

    color: #e11d48;

    border: 1px solid rgba(225, 29, 72, 0.25);
}

.modal-option-text {
    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.modal-option-text h4 {
    font-size: 14px;

    color: #0f172a;

    font-weight: 600;
}

.modal-option-text p {
    font-size: 11px;

    color: #64748b;

    line-height: 1.3;
}

.modal-arrow {
    font-size: 18px;

    color: #94a3b8;

    font-weight: bold;

    transition:
        transform 0.2s;
}

.modal-option-item:hover .modal-arrow {
    color: #2563eb;

    transform: translateX(3px);
}

.modal-close-btn {
    background: transparent;

    border: 1px solid #e2e8f0;

    color: #64748b;

    padding: 12px;

    border-radius: 14px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    margin-top: 4px;
}

.modal-close-btn:hover {
    background-color: #f1f5f9;

    color: #0f172a;

    border-color: #cbd5e1;
}