.wrap_ctmcontent{
	background: #ffffff;
	padding: 50px;
}

.ctm-search-client{
	font-size: 18px;
}

#result_container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.vehicle-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.vehicle-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.vehicle-type {
    background: #0073aa;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
}

.vehicle-body p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.vehicle-footer {
    margin-top: 12px;
    text-align: right;
}

.btn-select-vehicle {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease;
}

.btn-select-vehicle:hover {
    background: #218838;
}

.order-container {
    max-width: 1400px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    background: #ffffff;
}

.section {
    margin-bottom: 20px;
}

.section-title {
    background: #1f2f44 !important;
    font-size: 16px;
    color: #fff;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    border-top: 3px solid #1a252f;
    border-bottom: 3px solid #1a252f;
}

.order-container .row {
    display: flex;
    border-bottom: 1px solid #ccc;
}

.order-container .row:last-child {
    border-bottom: none;
}

.field {
    flex: 1;
    padding: 10px;
    border-right: 1px solid #ccc;
}

.field:last-child {
    border-right: none;
}

.field.full {
    flex: 3;
}

.field.small {
    flex: 1;
}

.grid-4 .field {
    flex: 1;
}

.grid-3 .field {
    flex: 1;
}

.order-container label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.order-container span {
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

.order-container input{
	width: 100%;
}

#search_label{
    margin-left: 20px;
}

#btn_search_client{
    margin-left: 20px;
}

#order_section {
    max-width: 1360px;
    background: #fff;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
}

#tabla_orden {
    border-collapse: collapse;
    font-size: 13px;
}

#tabla_orden th {
    background: #2c3e50;
    color: #fff;
    padding: 6px;
}

#tabla_orden td {
    padding: 5px;
}

#tabla_orden input {
    width: 100%;
    border: none;
    outline: none;
}

#add_row {
    background: #28a745;
    color: #fff;
    padding: 6px 10px;
    border: none;
    cursor: pointer;
}

#save_order {
    background: #0073aa;
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

.ctm_delete_row {
    background:#ff4444;
    color:white;
    border:none;
    padding:5px 10px;
    cursor:pointer;
}

.wooctm-content {
    margin-top: 20px;
    background: white;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.wooctm-content table {
    margin-top: 10px;
}
.wooctm-content .button {
    margin: 0 2px;
}
#filtroOrdenes {
    margin-bottom: 10px;
}
.spinner {
    float: none;
    margin: 10px auto;
}

.order-view {
    max-width: 1000px;
    margin: auto;
    font-family: Arial;
}

.section {
    margin-bottom: 20px;
}

.section-title {
    background: #2c3e50;
    color: #fff;
    padding: 8px;
    font-weight: bold;
    text-align: center;
}

.row {
    display: flex;
    border: 1px solid #ccc;
    border-top: none;
}

.field {
    flex: 1;
    padding: 10px;
    border-right: 1px solid #ccc;
}

.field:last-child {
    border-right: none;
}

.field.full {
    flex: 3;
}

.field.small {
    flex: 1;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: #34495e;
    color: white;
    padding: 6px;
}

.table td {
    border: 1px solid #ccc;
    padding: 6px;
}

.btn-pdf {
    background: #e74c3c;
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

.btn-editar {
    background: #3858e9;
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

.btn-editar-veh {
    background: #28a745;
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}



.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f2f44;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
}

/* IZQUIERDA */
.header-left {
    width: 30%;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.sub {
    font-size: 12px;
}

.phone {
    font-size: 12px;
}

/* CENTRO */
.header-center {
    width: 40%;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

/* DERECHA */
.header-right {
    width: 30%;
    background: #fff;
    color: #000;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.header-right .label {
    font-size: 11px;
    font-weight: bold;
}

.order-number {
    font-size: 18px;
    color: red;
    font-weight: bold;
    margin-top: 5px;
}

#details_table input, textarea{
    width: 100%
}


.ctm-msg{
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 500;
}

.ctm-success{
    background: #e6f7ee;
    color: #1a7f4b;
    border: 1px solid #b7ebcd;
}

.ctm-error{
    background: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
}

input.error{
    border: 1px solid #e74c3c !important;
    background: #fff5f5;
}

.btn-save.loading{
    opacity: 0.7;
    cursor: not-allowed;
}

i.fa {
	font-size: 16px;
}

.maintenance-container{
    margin-top:10px;
}

.maintenance-header{
    width:100%;
    border-collapse:collapse;
    margin-bottom:18px;
}

.maintenance-header th{
    border:2px solid #ddd;
    background:#f5f5f5;
    text-align:center;
    padding:8px;
    font-weight:bold;
}

.maintenance-header td{
    border:2px solid #ddd;
    height:45px;
    padding:8px;
}

.maintenance-detail{
    width:100%;
    border-collapse:collapse;
}

.maintenance-detail th{
    border:2px solid #ddd;
    background:#f5f5f5;
    padding:8px;
    text-align:center;
    font-weight:bold;
}

.maintenance-detail td{
    border:2px solid #ddd;
    padding:8px;
    height:36px;
}

.money{
    text-align:right;
    white-space:nowrap;
}

.fa-user:before { content: "\f007"; }

.modal-custom-notice {
    padding: 10px 15px;
    margin: 0 0 15px 0;
    border-left: 4px solid;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
}

.modal-custom-notice p {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* Tipos de mensajes */
.modal-custom-notice.notice-success {
    border-left-color: #46b450;
    background: #ecf7ed;
}

.modal-custom-notice.notice-success p {
    color: #1d2327;
}

.modal-custom-notice.notice-error {
    border-left-color: #d63638;
    background: #fcf0f1;
}

.modal-custom-notice.notice-error p {
    color: #9b2c2c;
}

.modal-custom-notice.notice-warning {
    border-left-color: #f0ad4e;
    background: #fef8ee;
}

.modal-custom-notice.notice-warning p {
    color: #7b4a1e;
}

.modal-custom-notice.notice-info {
    border-left-color: #00a0d2;
    background: #f0f8fc;
}

.modal-custom-notice.notice-info p {
    color: #1d2327;
}
