#zohoSupportWebToCase textarea,
#zohoSupportWebToCase input[type='text'],
#zohoSupportWebToCase input[type='date'],
#zohoSupportWebToCase select,
.wb_common {
    width: 280px;
}

body {
    margin: 0;
}

/* Removed table-specific padding */
/* #zohoSupportWebToCase td {
     padding: 11px 5px;
 } */

#zohoSupportWebToCase .form-input {
    width: 100%;
    margin-right: 10px;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    border-color: #CCC;
    border-width: 1px;
    border-style: solid;
    padding: 8px 10px;
    border-radius: 16px;
    height: 28px;
}

#zohoSupportWebToCase textarea,
#zohoSupportWebToCase input[type='text'],
#zohoSupportWebToCase input[type='date'],
#zohoSupportWebToCase select {
    border-color: #CCC;
    border-width: 1px;
    border-style: solid;
    padding: 5px 10px;
    border-radius: 16px;
    height: 28px;
    width: 100%;

}

input:focus,
textarea:focus {
    outline: none;
    border-color: #CCC;
}

#zohoSupportWebToCase input[type='submit'] {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 64px;
    padding: 6px 16px;
    border-radius: 24px;
    color: #fff;
    background-color: #003595;
    border: none;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

#zohoSupportWebToCase input[type='button'] {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 64px;
    padding: 6px 16px;
    border-radius: 24px;
    color: #0A196F;
    background-color: transparent;
    border: none;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

#zohoSupportWebToCase input[type='submit']:hover {
    background-color: #0A196F;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

#zohoSupportWebToCase input[type='button']:hover {
    background-color: transparent;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

.buttonMui {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 64px;
    padding: 6px 16px;
    border-radius: 24px;
    color: #fff;
    background-color: #003595;
    border: none;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.buttonMui:hover {
    background-color: #0A196F;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}



#zohoSupportWebToCase input[type='submit']:focus,
#zohoSupportWebToCase input[type='button']:focus {
    outline: none;
}

#zohoSupportWebToCase textarea {
    border-color: #CCC;
    border-width: 1px;
    border-style: solid;
    padding: 15px 10px;
    border-radius: 16px;
    min-height: 100px;
}

#zohoSupportWebToCase select {
    box-sizing: unset
}

#zohoSupportWebToCase .wb_selectDate {
    width: auto
}

#zohoSupportWebToCase input.wb_cusInput {
    width: 108px
}

.wb_FtCon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;
    padding-left: 10px
}

.wb_logoCon {
    display: flex;
    margin-left: 5px
}

.wb_logo {
    max-width: 16px;
    max-height: 16px;
}

#zohoSupportWebToCase .wb_multi_pick {
    border: 1px solid #ddd;
    padding: 3px 5px;
    border-radius: 3px;
    width: 280px;
    height: 95px;
    overflow-y: auto;
}

#zohoSupportWebToCase .wb_multi_pick_label {
    display: block;
}

#zohoSupportWebToCase .wb_multi_pick_input,
.wb_multi_pick_input_all {
    vertical-align: middle;
    margin-right: 5px;
}

/* CSS Grid Container */
.zsFormGrid {
    display: grid;
    grid-template-columns: 30% 75%;
    gap: 5px 10px;
    /* Vertical and horizontal gap between items */
    background-color: #FFFFFF;
    width: 600px;
    max-width: 100%;
    padding: 10px;
}

/* Grid Item styles */
.zsGridItem {
    padding: 8px 5px;
    vertical-align: top;
}


.zsGridActions {
    grid-column: 1 / -1;
    /* Span across all columns */
    padding: 11px 5px 0px 5px;
    text-align: center;
}

.zsFontClass {
    color: #000000;
    font-family: Arial;
    font-size: 13px
}

.manfieldbdr {
    /* border-left: 1px solid #ff6448 !important */
}

.hleft {
    text-align: left;
}

input[type=file]::-webkit-file-upload-button {
    cursor: pointer;
}

.wtcsepcode {
    margin: 0px 15px;
    color: #aaa;
    float: left;
}

.wtccloudattach {
    float: left;
    color: #00a3fe !important;
    cursor: pointer;
    text-decoration: none !important;
}

.wtccloudattach:hover {
    text-decoration: none !important;
}

.wtcuploadinput {
    cursor: pointer;
    float: left;
    width: 120px;
    margin-top: -25px;
    opacity: 0;
    clear: both;
}

.wtcuploadfile {
    float: left;
    color: #00a3fe !important;
    font-size: 14px !important;
    margin-bottom: 8px;
}

.clboth {
    clear: both;
}

.zsFontClass {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.87);
    padding-top: 5px;
    vertical-align: middle;
}

.zsFontTitleClass {
    color: #000000;
    font-family: Arial;
    font-size: 18px;
    font-weight: bold;
    vertical-align: top;
}

#tooltip-zc {
    font: normal 12px Arial, Helvetica, sans-serif;
    line-height: 18px;
    position: absolute;
    padding: 8px;
    margin: 20px 0 0;
    background: #fff;
    border: 1px solid #528dd1;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #eee;
    -webkit-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    color: #777
}

.wtcmanfield {
    color: #f00;
    font-size: 16px;
    position: relative;
    top: 2px;
    left: 1px;
}

#zsCloudAttachmentIframe {
    width: 100%;
    height: 100%;
    z-index: 99999 !important;
    position: fixed;
    left: 0px;
    top: 0px;
    border-style: none;
    display: none;
    background-color: #fff;
}

.wtchelpinfo {
    background-position: -246px -485px;
    width: 15px;
    height: 15px;
    display: inline-block;
    position: relative;
    top: 2px;
    background-image: url(https://d1ydxa2xvtn0b5.cloudfront.net/app/images/zs-mpro.b6c9cf2347c62390fdcb.png);
}

.zsMaxSizeMessage {
    font-size: 13px;
}


#zohoSupportWebToCase .filenamecls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 6px;
    padding: 6px 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-sizing: border-box;
}

/* Texto del nombre del archivo con tamaño reducido */
#zohoSupportWebToCase .filenamecls .zsFontClass {
    font-size: 0.8rem;
    color: #495057;
    flex: 1;
    margin-right: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}

/* Estilos para el ícono de eliminar archivo */
.zsfilebrowseAttachment,
.zscloudAttachment {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.zsfilebrowseAttachment:hover,
.zscloudAttachment:hover {
    background-color: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

.zsfilebrowseAttachment svg,
.zscloudAttachment svg {
    width: 14px;
    height: 14px;
    fill: #dc3545;
}

.zsfilebrowseAttachment:hover svg,
.zscloudAttachment:hover svg {
    fill: #c82333;
}

/* Contenedor principal de archivos adjuntos */
#zsFileBrowseAttachments {
    clear: both;

}

/* Mensajes de información de archivos */
#zsMaxSizeMessage,
#zsMaxLimitMessage {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 4px;
    line-height: 1.3;
    float: left;
    text-align: left;
}


@media (min-width: 1024px) {
    .zsFormGrid {
        display: grid;
        /* Two columns: 25% for label, 75% for input */
        grid-template-columns: 30% 75%;
        gap: 5px 10px;
        /* Vertical and horizontal gap between items */
        background-color: #FFFFFF;
        width: 600px;
        max-width: 100%;
        /* Ensure it's responsive */
        padding: 10px;
    }
}

@media (max-width: 1000px) {
    .zsFormGrid {
        grid-template-columns: 30% 60%;
    }
}

@media (max-width: 420px) {
    .zsFormGrid {
        grid-template-columns: 25% 60%;
    }

    /* ACTIONS BUTTONS */
    .zsGridActions {
        display: flex;
        /* Enable flexbox for button container */
        flex-direction: row;
        /* Stack buttons vertically */
        justify-content: space-between;
        gap: 10px;
    }

    .zsGridActions input[type='button'],
    .zsGridActions input[type='submit'] {
        width: 100%;
        /* Make buttons full width */
        margin: 0 !important;
        /* Remove inline margins */
    }


    /* Center the main form container */

}