.sidebar {
    background: var(--primary-color);
}

.main-header #header-logo .logo-custom,
#main-menu .menu .menu-item-label,
#main-menu .menu .menu-icon {
    color: #FFFFFF;
}

#main-menu .menu .menu-item.active .menu-item-label,
#main-menu .menu .menu-item.active:not(.expanded) .menu-icon,
#main-menu .menu .menu-item.active:not(.expanded) a {
    color: var(--primary-color);
}

.btn-primary, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):active, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):active:focus, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):focus, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover i {
    color: white;
}

.ea-dark-scheme .form-switch .form-check-input:checked, .form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-bs-theme="light"] input.form-control:read-only,
[data-bs-theme="light"] textarea.form-control:read-only,
[data-bs-theme="light"] select.form-select:disabled {
    background-color: #d5d5d5;
}

[data-bs-theme="dark"] input.form-control:read-only,
[data-bs-theme="dark"] textarea.form-control:read-only,
[data-bs-theme="dark"] select.form-select:disabled {
    background-color: var(--bs-secondary-bg);
}


.dropdown-settings .dropdown-item.active {
    box-shadow: inset 0 0 0 1px rgba(89, 134, 165, 0.5);
}

.panel-sidebar-logo {
    width: 95%;
}

.panel-login-logo {
    width: 90%;
    margin-left: 5%;
    margin-bottom: 1rem;
}

.page-login {
    background: rgb(93, 137, 186) !important;
}

.login-wrapper .form-widget input {
    border-color: rgba(93, 137, 186, 0.5);
}

.form-widget .custom-file-input:focus~.custom-file-label, .form-widget .form-select:focus, .form-widget input.form-check-input:focus, .form-widget input.form-control:focus, .form-widget textarea.form-control:focus {
    border-color: #b8a494;
}

.form-check-input:checked {
    background-color: rgb(93, 137, 186);
    border-color: rgb(93, 137, 186);
}

.form-check-input:focus {
    border-color: rgb(93, 137, 186);
}

.main-header.register-header {
    margin-top: 50%;
}

.login-wrapper .content {
    padding-top: 1rem;
}

.login-wrapper .login-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1.5rem;
}

.powered-by {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.powered-by a {
    color: inherit;
}

.default-page.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.default-page.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #f9f9f9 0%, #eaeaea 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.default-page.container .row {
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
}

.product-image-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    border-radius: 7px;
}

.product-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-header {
    padding-top: 0.8rem;
    background-color: var(--primary-color);
    color: #FFFFFF;
}

input#command {
    border: 0.1 solid var(--secondary-color);
    border-bottom: 0.13rem solid var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    font-family: 'Fira Code', monospace, sans-serif;
    padding: 5px;
}

.server-stats-row {
    min-width: 300px;
}

.menu-item .icon.submenu-toggle-icon {
    color: #FFFFFF !important;
}

.hover-pointer:hover {
    cursor: pointer;
}

.user-menu-wrapper .user-avatar {
    background: unset;
}

.responsive-header {
    background: var(--primary-color);
}

.responsive-header i {
    color: #FFFFFF;
}

.responsive-header i.fa-user {
    color: var(--primary-color);
}

.responsive-header .dropdown-menu i {
    color: inherit;
}

.responsive-header .user-balance a {
    color: #FFFFFF;
}

.logo-compact {
    color: #FFFFFF;
}

.configuration-wrapper {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.configuration-wrapper .configuration-title,
.configuration-wrapper .configuration-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1.5rem;
}

.configuration-wrapper .configuration-subtitle {
    font-size: 1rem;
}

.page-configurator {
    background: rgb(89, 134, 165) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#cart-ip-address {
    min-width: 150px;
    display: inline-block;
    font-weight: 600;
}

.placeholder {
    background-color: #b2b2b2;
    border-radius: 4px;
    min-width: 80px;
}

.server-card {
    transition: all 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.server-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.server-image:hover {
    transform: scale(1.05);
}

.spec-item {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.spec-item:hover {
    border-color: #dee2e6;
    background-color: #f8f9fa !important;
}

.spec-value {
    font-weight: 600;
    color: #495057;
}

.server-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.server-actions .btn:hover {
    transform: translateY(-1px);
}

.expiry-info {
    border: 1px solid #e9ecef;
}

.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .server-specs .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .server-actions .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }
}

#terminal > div {
    padding: 10px;
}

.card-input-element + label {
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.card-input-element:checked + label {
    border: 2px solid var(--bs-primary);
    box-shadow: 0 0 5px rgba(var(--bs-primary-rgb), 0.5);
}

.card-input-element:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-select-lg, .form-control, .input-group-text {
    font-size: 0.95rem !important;
}

.page-login .input-group-lg .input-group-text {
    min-height: calc(1.5em + 1rem + 2px);
    display: flex;
    align-items: center;
}
.page-login .btn-primary {
    background-color: rgb(93, 137, 186) !important;
    border-color: rgb(93, 137, 186) !important;
    color: white !important;
}
.page-login .btn-primary:hover {
    background-color: rgb(82, 121, 167) !important;
    border-color: rgb(82, 121, 167) !important;
}
