/* Container for the orders */
.fsm-order-wrapper {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid layout for order cards */
#fsm-order-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Card style */
.fsm-order-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.fsm-order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Card text styling */
.fsm-order-card p {
    margin: 8px 0;
    font-size: 14px;
    color: #333;
}

/* Buttons inside the card */
.fsm-btn {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    margin-right: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.fsm-btn:hover {
    background-color: #005f8d;
}

/* Inline detail or edit view */
.fsm-inline-details {
    margin-top: 15px;
    background: #f9f9f9;
    padding: 15px;
    border-top: 1px solid #ddd;
    border-radius: 8px;
}

.fsm-inline-details h3,
.fsm-inline-details h4 {
    margin-top: 0;
}

.fsm-inline-close {
    float: right;
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 10px;
}

.fsm-inline-close:hover {
    background: #bd2130;
}

/* Form inside the edit */
.fsm-inline-details form input,
.fsm-inline-details form button {
    width: 100%;
    margin-bottom: 10px;
}

.fsm-inline-details form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.fsm-inline-details form input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

/* Pagination placeholder (you can customize later) */
#fsm-pagination {
    margin-top: 30px;
    text-align: center;
}
