.reg_form_wrap {
    margin: auto;
    max-width: 85%;
    padding: 50px;
    background-size: 100%;
    background-color: #f0f2f1;
}

.sidebar {
    background-color: #f8f8f8;
    padding: 20px;
    border-right: 1px solid #ddd;
    height: 100%;
}

.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;
}

.sidebar-menu li a:hover {
    color: #ce0b2b;
}

.account-content {
    padding: 20px;
    position: relative; /* Adicione esta linha */
    min-height: 200px; /* Para garantir que a área de conteúdo tenha uma altura mínima */
}

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

.order-info h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.order-info p {
    margin: 0 0 10px;
}

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

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

/* Custom CSS for Address Cards */
.account-content .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.account-content .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.account-content .card-body {
    padding: 20px;
}

.account-content .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.account-content .card-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.account-content .btn-edit,
.account-content .btn-delete {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
    padding: 0;
}

.account-content .btn-edit:hover,
.account-content .btn-delete:hover {
    color: #343a40;
}

.account-content .btn-edit i,
.account-content .btn-delete i {
    margin-right: 5px;
}

.account-content .btn-edit {
    margin-right: 15px;
}

.account-content .btn-delete {
    margin-left: 15px;
}

.account-content .btn-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-top: 1px solid #e9ecef;
    padding-top: 10px;
    margin-top: 10px;
}

.account-content .badge-primary {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 14px;
}

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

/* Estilo para o Modal */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: none;
    background-color: #1e0d3d;
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: '#fff'
}

.close {
    color: white;
}

.modal-body {
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
}

.form-group label {
    font-weight: bold;
}

.form-control {
    border-radius: 5px;
    box-shadow: none;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #1e0d3d;
    box-shadow: 0 0 5px rgba(111, 66, 193, 0.25);
}

.btn-primary {
    background-color: #1e0d3d;
    border: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #1e0d3d;
}

/* Estilo para os botões dentro dos cards */
.btn-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-edit {
    background-color: #1e0d3d;
    color: white;
    border: none;
}

.btn-edit:hover {
    color: #1e0d3d;
}

.btn-delete {
    background-color: #d9534f;
    color: white;
    border: none;
}

.btn-delete:hover {
    color: #c9302c;
}

/* Estilo para o Spinner de Carregamento */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%; /* Ajuste para cobrir a altura do conteúdo */
    width: 100%; /* Ajuste para cobrir a largura do conteúdo */
    color: #1e0d3d; /* Cor do texto e do spinner */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: rgb(148, 109, 221);
    border-width: 0.3rem;
}


.sidebar-menu li a.active {
    font-weight: bold;
    color: #ce0b2b;
}


#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#freight_options tr {
    cursor: pointer;
}

#freight_options tr.selected {
    background-color: #f0f0f0;
}

.fixed-size {
    width: 100px; /* Set the desired width */
    height: 100px; /* Set the desired height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px; /* Optional: Adjust the spacing as needed */
}

.fixed-size img.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
}


