body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.header_section {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header_section .navbar {
    padding: 15px 0;
}

.header_section .navbar-brand {
    font-size: 24px;
    font-weight: bold;
}

.header_section .navbar-nav .nav-link {
    color: #333;
    margin-left: 20px;
    font-weight: 500;
}

.header_section .navbar-nav .nav-link:hover {
    color: #ce0b2b;
}

.header_section .navbar-nav .active {
    color: #ce0b2b;
}

/* Estilo padrão */
.account_section {
    padding: 140px 0;
}



/* Ajustar padding em dispositivos médios */
@media (max-width: 992px) {
    .account_section {
        padding: 60px 0;
    }
}

/* Ajustar padding em tablets */
@media (max-width: 768px) {
    .account_section {
        padding: 60px 0;
    }
}

/* Ajustar padding em dispositivos móveis */
@media (max-width: 576px) {
    .account_section {
        padding: 60px 0;
    }
}


.sidebar {
    background-color: #fff;
    padding: 20px;
    border-right: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-menu {
    list-style-type: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 15px;
}

.sidebar-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    color: #fff;
    background-color: #ce0b2b;
}

.account-content {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.account-content h2 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

#orders-container {
    padding: 20px 0;
}

.order-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.order-summary {
    flex: 1;
}

.product-details h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #007bff;
}

.product-details p {
    font-size: 14px;
    margin: 5px 0;
    color: #666;
}


.order-details h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.order-details p {
    font-size: 14px;
    margin: 3px 0;
    color: #555;
}

.btn-primary {
    background-color: #ce0b2b;
    border-color: #ce0b2b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.btn-edit {
    color: #ce0b2b;
    background-color: #f5f5f5;
}

.btn-delete {
    color: #ce0b2b;
    background-color: #f5f5f5;
}

.btn-add {
    color: #15790c;
    background-color: #f5f5f5;
}

.btn-primary:hover {
    background-color: #b10a26;
    border-color: #b10a26;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.status-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 10px 5px;
    color: #fff;
    border-radius: 4px;
    margin: 0 2px;
    box-sizing: border-box;
}

.status-item small {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #fcfcfc;
}

.status-item.current {
    background: #16a340;
}

.status-item.completed {
    background: #94b697;
}

.status-item.rejected {
    background: #dc3545;
}

.status-item:not(.completed):not(.rejected):not(.current) {
    background: #6c757d;
}

@media (max-width: 768px) {
    .sidebar {
        margin-bottom: 20px;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-details {
        text-align: left;
        margin-top: 20px;
    }

    .status-bar {
        flex-direction: column;
    }

    .status-item:not(.current) {
        display: none;
    }

    .status-item.current {
        width: 100%;
    }
}

.modal-header {
    background-color: #333;
    color: #fff;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.close {
    color: #fff;
    opacity: 1;
    font-size: 1.2rem;
}

.modal-body {
    padding: 2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -0.5rem;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #007bff;
}

.btn-primary {
    background-color: #ce0b2b;
    border-color: #ce0b2b;
    color: #fff;
    padding: 0.75rem;
    font-size: 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #b10a26;
    border-color: #b10a26;
}

@media (max-width: 768px) {
    .form-group {
        min-width: 100%;
    }
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
}

.card-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.card-body {
    padding: 10px;
}

.order-info,
.payment-details {
    margin-bottom: 20px;
}

.item-list {
    list-style: none;
    padding: 0;
}

.item {
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.item-image {
    flex: 1;
    margin-right: 10px;
}

.item-image img {
    width: 100%;
    border-radius: 8px;
}

.item-details {
    flex: 2;
}

.status-list {
    margin-bottom: 20px;
}

.status-item-details {
    display: flex;
    flex-direction: column; /* Adiciona direção de coluna para garantir que o texto se ajuste */
    align-items: flex-start; /* Alinha os itens ao início do contêiner */
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    color: #fff;
    background-color: #333; /* Adiciona uma cor de fundo para visibilidade */
}

.status-item-details small {
    display: block; /* Garante que o <small> ocupe uma linha inteira */
    margin-top: 5px; /* Adiciona um espaço acima para separação do texto */
    font-size: 0.9em; /* Ajusta o tamanho da fonte se necessário */
}


.status-item-details.badge-warning {
    background-color: #f0ad4e;
}

.status-item-details.badge-info {
    background-color: #5bc0de;
}

.status-item-details.badge-primary {
    background-color: #337ab7;
}

.status-item-details.badge-success {
    background-color: #5cb85c;
}

.status-item-details.badge-danger {
    background-color: #d9534f;
}

.payment-details p {
    margin: 5px 0;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}