/*
=====================================================
file: userPageItems/dialogs/drawModeDialogs/drawModeDialogs.css

Purpose:
- Styles GLOBAL draw-mode dialog only
- NO top menu styling
- NO canvas styling
- NO solver UI
=====================================================
*/

/* =====================================================
   1. DIALOG OVERLAY
===================================================== */
#globalDialog {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

/* Hidden state */
#globalDialog.hidden {
    display: none;
}


/* =====================================================
   2. DIALOG BOX
===================================================== */
#globalDialog .dialog-content {
    min-width: 260px;
    padding: 16px 18px;

    background: #ffffff;
    border: 1px solid #222;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);

    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


/* =====================================================
   3. TITLE
===================================================== */
#dialogTitle {
    margin: 0 0 12px 0;
    font-size: 15px;
}


/* =====================================================
   4. FORM STACKING
===================================================== */
#dialogForm > label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}


/* =====================================================
   5. INPUT CONTROLS
===================================================== */
#dialogForm input,
#dialogForm select {
    width: 100%;
    padding: 6px;
    margin-top: 4px;

    box-sizing: border-box;
    font-size: 13px;
}


/* =====================================================
   6. ACTION BUTTONS
===================================================== */
.dialogButtons {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 12px;
}

.dialogButtons button {
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
}


/* =====================================================
   7. ERROR MESSAGE
===================================================== */
#dialogError {
    margin-top: 8px;
    font-size: 12px;
    color: #c62828;
}
