body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

p {
    margin: 0;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding and borders are included in the element's total width and height */
}

.app-card i {
    font-size: 24px;
    margin-bottom: 5px;
}

.app-card p {
    margin: 0;
    font-size: 14px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #00b9ff;
    color: #fff;
    width: 100%; /* Ensure header spans full width */
    box-sizing: border-box;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

header button {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

header button:hover {
    background-color: #003d82;
}

main {
    margin-top: 20px;
    width: 100%; /* Ensure main content spans full width */
    box-sizing: border-box;
}

section h2 {
    margin-top: 0;
    font-size: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

ul#rma-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Ensure list spans full width */
    box-sizing: border-box;
}

ul#rma-list li {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
}

ul#rma-list li:hover {
    background-color: #f1f1f1;
}

ul#rma-list li .rma-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

ul#rma-list li .rma-details {
    margin-top: 5px;
}

ul#rma-list li .rma-details span {
    display: block;
    margin-bottom: 3px;
}

#rma-detail {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%; /* Ensure detail section spans full width */
    box-sizing: border-box;
}

#back-to-list {
    margin-top: 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

#back-to-list:hover {
    background-color: #218838;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    width: 100%; /* Ensure footer spans full width */
    box-sizing: border-box;
    margin-top: auto; /* Push footer to the bottom */
}

.alert {
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
}

.alert-primary-soft { background-color: #cce5ff; color: #004085; }
.alert-secondary-soft { background-color: #e2e3e5; color: #383d41; }
.alert-danger-soft { background-color: #f8d7da; color: #721c24; }
.alert-pending-soft { background-color: #fff3cd; color: #856404; }
.alert-success-soft { background-color: #d4edda; color: #155724; }
.alert-warning-soft { background-color: #fff3cd; color: #856404; }
