﻿.ios-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1416px;
    height: 1024px;
    background: #000000;
    margin: auto;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    flex-wrap: wrap;
}

.availiable-fields-container {
    width: 10%;
}

.ios-table-view {
    width: 300px;
    height: 1024px;
    border: 1px solid black;
    padding: 10px;
}

.table-view-row {
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
    color: black;
}

    .table-view-row:hover {
        background-color: #f0f0f0;
    }

.ipad-layout {
    width: 1366px;
    height: 1024px;
    border: 1px solid black;
    background: #f0f0f0;
    display: grid;
    grid-template-rows: 60px 1fr 50px;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-panel input[type="text"] {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    outline: none;
    background: #f0f0f0;
    transition: box-shadow 0.3s;
}

    .search-panel input[type="text"]:focus {
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%; /* Fixes the width of flex-container */
    overflow: hidden; /* Prevents flex-container from expanding with content */
}

.checkbox-container {
    display: flex;
    gap: 10px;
    flex-direction: row; /* Sets the direction to horizontal */
}


.vertical-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%; /* Ensures it doesn’t expand beyond flex-container’s width */
    max-width: calc(100% - 320px); /* Adjusted width minus the ios-table-view width */
    box-sizing: border-box;
}

.map-placeholder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 300px;
    padding: 10px;
    gap: 10px;
    text-align: center;
    width: 100%; /* Fixes the width of map-placeholder */
    max-width: 100%; /* Ensures it doesn’t exceed its container */
    overflow: hidden; /* Prevents it from expanding */
}

.scrollable-dropzone {
    max-height: 650px;
    overflow-y: auto;
    background: #f0f0f0;
}

.ios-text-field {
    width: 90%;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #ddd !important;
    color: #333;
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

    .ios-text-field:focus {
        border-color: #007aff;
        box-shadow: 0 0 8px rgba(0, 122, 255, 0.3);
        background-color: #ffffff;
    }


.required-field {
    border: 2px solid red !important; /* Ensure this border overrides DevExpress styling */
    border-radius: 4px; /* Optional: Rounded corners */
    background: red;
}

.ios-numeric-field {
    width: 90%;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    color: #333; /* Set text color to black */
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

    .ios-numeric-field:focus {
        border-color: #007aff;
        box-shadow: 0 0 8px rgba(0, 122, 255, 0.3);
        background-color: #ffffff;
    }

    .ios-numeric-field .mud-input-slot {
        color: #333 !important; /* Ensure the text color is black */
    }

    

.ios-label {
    font-size: 16px;
    background: #f0f0f0;
    color: #333333;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #ddd;
    width: 100%;
    display: block;
}

    .ios-label input {
        background-color: #ffffff;
        color: #333333;
        padding: 10px;
        outline: double;
    }

        .ios-label input:focus {
            border-color: #007aff;
            box-shadow: 0 0 5px rgba(0, 122, 255, 0.3);
        }

.subtask-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100px;
    gap: 10px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    width: 828px; /* Ensures it stays within its container’s width */
    max-width: 100%; /* Prevents expanding parent width */
    height: 140px;
    box-sizing: border-box;
    white-space: nowrap;
}

    .subtask-container div {
        width: 100px;
        height: 100px;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-sizing: border-box;
    }

.width-10-p {
    width: 20%;
}

/* Targeting MudBlazor's input styling with more specificity */
.mud-input-slot.mud-input-root.mud-select-input {
    color: #000 !important; /* Force black font color */
}

.mud-input-root.mud-input-root-text.mud-input-root-adorned-end.mud-select-input {
    color: #000 !important; /* Force black font color */
}

.mud-input-slot.mud-input-root.mud-input-root-text.mud-input-root-adorned-end.mud-select-input:focus {
    color: #000 !important;
}