/* =========================================
   COMPONENT: RADIANT CREATE MODAL
   ========================================= */

/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* MODAL CARD */
.m-card-new {
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 30px;
    padding: 30px;
    transform: scale(0.9);
    transition: 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    /* Ensure close button positioning context */
}

.modal-overlay.active .m-card-new {
    transform: scale(1);
}

/* CLOSE BUTTON */
.m-close {
    position: absolute;
    top: 20px;
    right: 25px;
    cursor: pointer;
    font-size: 1.8rem;
    color: #888;
    line-height: 1;
    transition: 0.2s;
    z-index: 10;
}

.m-close:hover {
    color: #333;
    transform: scale(1.1);
}

/* OPTIONS */
.m-opt {
    padding: 15px;
    border-radius: 15px;
    background: #f9f9f9;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    /* In case we use anchors */
    color: inherit;
}

.m-opt:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.m-opt span {
    font-size: 1.5rem;
}

.m-opt div strong {
    display: block;
    font-size: 1rem;
    color: #333;
    margin-bottom: 2px;
}

.m-opt div div {
    font-size: 0.8rem;
    color: #888;
}