/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


.woocommerce-error strong {
    color: #dc3232;
    font-weight: 900;
    font-size: 1.3em;
    text-transform: uppercase;
}

.woocommerce-error {
    border: 2px solid #dc3232 !important;
    padding: 25px 30px !important;
    margin: 30px 0 !important;
    font-size: 1.2em;
    line-height: 1.8;
    background: #fff0f0;
    text-align: center;
    border-radius: 5px;
}

.woocommerce-error:before {
    content: "⚠️";
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

#cancelled-orders-search-box {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

#cancelled-orders-client-search {
    width: 300px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.cancelled-orders-stats {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

.cancelled-orders-stats .stat-box {
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 3px;
    border: 1px solid #dcdcde;
}

.cancelled-orders-stats .stat-box span {
    display: block;
    margin: 3px 0;
    font-size: 14px;
    color: #1d2327;
}

.cancelled-orders-stats .stat-box span:first-child {
    font-weight: 600;
    color: #2271b1;
}

#billing_phone_field .optional,
#billing_phone_field .required {
    display: none !important;
}

#billing_phone_field .woocommerce-input-wrapper::after,
#billing_phone_field .woocommerce-input-wrapper::before {
    display: none !important;
}

#billing_phone_field.woocommerce-invalid .input-text {
    border-color: #ddd !important;
    box-shadow: none !important;
    background-image: none !important;
}

.button-danger {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

.button-danger:hover {
    background: #bb2d3b !important;
    border-color: #b02a37 !important;
}

.tablenav-pages {
    margin: 20px 0;
    float: right;
}

.tablenav-pages a,
.tablenav-pages span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background: #fff;
}

.tablenav-pages .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Stiluri minime necesare */
.wp-list-table th { background: #f5f5f5; }
.stat-box { background: #fff; padding: 15px; border-radius: 3px; }
.button-danger { background: #dc3545; border-color: #dc3545; }

/* Stiluri tabel */
.wp-list-table {
    margin-top: 20px;
    border-collapse: collapse;
    width: 100%;
}

.wp-list-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
}

.wp-list-table td {
    padding: 12px;
    border-top: 1px solid #dee2e6;
}

/* Butoane */
.button-danger {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.button-danger:hover {
    background: #bb2d3b;
    border-color: #b02a37;
}

/* Căutare */
.search-box {
    margin: 20px 0;
}

#client-search {
    width: 300px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Statistici */
.cancelled-orders-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #0d6efd;
}

.tablenav {
    margin: 20px 0;
}

.page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background: #fff;
}

.page-numbers.current {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

.cancelled-orders-stats .stat-box {
    display: inline-block;
    margin: 0 20px 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    min-width: 200px;
}

.cancelled-orders-stats .stat-box span {
    display: block;
    margin: 5px 0;
    font-weight: 500;
}

/* Stilizare bloc statistici */
.cancelled-orders-stats {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

.cancelled-orders-stats .stat-box {
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 3px;
    border: 1px solid #dcdcde;
}

.cancelled-orders-stats .stat-box span {
    display: block;
    margin: 3px 0;
    font-size: 14px;
    color: #1d2327;
}

.cancelled-orders-stats .stat-box span:first-child {
    font-weight: 600;
    color: #2271b1;
}

/* Buton deblocare */
.button-danger {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

.button-danger:hover {
    background: #bb2d3b !important;
    border-color: #b02a37 !important;
}