/* ======================================================
   FULLSCREEN AI BOX (NEW PREMIUM UI)
====================================================== */
.omda-ai-container {
    width: 100vw !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 40px 50px;
    min-height: 100vh;
    background: #161f22; /* ✔ خلفية البوكس */
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ======================================================
   HEADER
====================================================== */
.omda-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #4cc9f0, #4361ee, #7209b7);
    -webkit-background-clip: text;
    color: transparent;
}

.omda-header p {
    color: #9ba3b4;
    margin-bottom: 35px;
    font-size: 15px;
}

/* ======================================================
   TOOLS GRID
====================================================== */
.omda-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 35px;
}

/* ======================================================
   TOOL CARD (improved)
====================================================== */
.tool-card {
    background: #1b2529;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #2c3941;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-6px);
    border-color: #4cc9f0;
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.4);
}

.tool-card.active {
    background: #223036;
    border-color: #4cc9f0;
    box-shadow: 0 0 25px rgba(76,201,240,0.7);
}

.tool-card .emoji {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.tool-card h4 {
    margin: 0;
    color: #e5ecf1;
    font-size: 16px;
    font-weight: 600;
}

/* ======================================================
   TOOL BOX (input area)
====================================================== */
.omda-tool-box {
    background: #1b2529;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #2c3941;
    margin-top: 10px;
}

.omda-tool-box label {
    display: block;
    margin-bottom: 8px;
    color: #cfd8df;
    font-size: 14px;
}

.omda-tool-box input,
.omda-tool-box textarea,
.omda-tool-box select {
    width: 100%;
    padding: 13px;
    background: #121a1d;
    border: 1px solid #2d3a41;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 18px;
    font-size: 14px;
    transition: 0.2s;
}

.omda-tool-box input:focus,
.omda-tool-box textarea:focus {
    border-color: #4cc9f0;
    outline: none;
    box-shadow: 0 0 6px rgba(76,201,240,0.4);
}

/* ======================================================
   RUN BUTTON
====================================================== */
.omda-run-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #4cc9f0, #4361ee, #7209b7);
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: 0.25s ease;
}

.omda-run-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

/* ======================================================
   RESULT BOX
====================================================== */
.omda-result-box {
    background: #1b2529;
    border: 1px solid #2c3941;
    padding: 30px;
    border-radius: 16px;
    margin-top: 35px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

pre {
    white-space: pre-wrap;
    margin-top: 15px;
    color: #d8e1e8;
    font-size: 15px;
    line-height: 1.7;
}

/* Action Buttons */
.result-actions button {
    background: #4cc9f0;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    color: #0d0f14;
    font-weight: 600;
    margin-left: 10px;
    transition: .2s;
}

.result-actions button:hover {
    background: #72ddf7;
}

/* ======================================================
   LOADER
====================================================== */
.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #4cc9f0;
    border-top-color: transparent;
    border-radius: 50%;
    margin: 20px auto;
    animation: spin 0.7s linear infinite;
}

/* Hidden */
.hidden { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Animations */
.fade { animation: fadeIn .4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   RESPONSIVE (Mobile)
====================================================== */
@media (max-width: 780px) {
    .omda-ai-container {
        padding: 25px 20px;
    }

    .omda-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .omda-header h2 {
        font-size: 28px;
    }
}
