:root {
    --fastbit-tunnis: #D9EAF2;
    --fastbit-rymd: #024C66;
    --fastbit-midnatt: #012E3D;
    --fastbit-hav: #0073A5;
    --fastbit-terrakotta: #E94F20;
    --fastbit-hallon: #E9204F;
    --fastbit-karibien: #10B980;
    --fastbit-white: #FFFFFF;
    --fastbit-black: #000000;
    --fastbit-betong: #D9D9D9;
    --fastbit-krita: #F5F5F5;
    --fastbit-himmel: #73B2CE
}

.responsive_tag {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    background-color: var(--fastbit-hav);
    color: var(--fastbit-white);
    padding: 5px 10px;
    border-radius: 4px;
}

#mobile {
    display: none;
}
#tablet {
    display: none;
}
#desktop {
    display: none;
}

.mypages-menu > a {
    color: var(--fastbit-white);
    text-decoration: none;
    padding-right: 10px;
    border-radius: 4px;
    font-weight: 500;
}

.mypages-menu-item-active {
    font-weight: 800 !important;
    text-decoration: underline !important;
}

.mypages-menu > a:hover {
    color: var(--fastbit-white);
    text-decoration: none;
    font-weight: 800;
}

.spinner {
    width: 200px;
    height: 200px;

    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('/wp-content/plugins/fastbit-customer-portal/assets/spinner.gif');
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

/* Profile Header */
.profile-header {
    background-image: url('../assets/bakgrund.jpg');
    background-size: cover;
    color: var(--fastbit-white);
    padding: 30px;
    border-radius: 8px;
    margin: 50px 0 30px 0;
    display: flex;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    align-items: center;
    height: 200px;
}

.profile-header-image {
    display: none;
}

.profile-header-content {
    position: relative;
    z-index: 4;
    flex: 1;
    display: flex;
    align-items: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.profile-avatar svg {
    width: 48px;
    height: 48px;
    color: var(--fastbit-white);
}

.profile-info h1 {
    margin: 0 0 0.25rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: white !important;
}

.profile-id {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
    color: var(--fastbit-white);
}

/* Header Styles */
.header {
    background-color: var(--fastbit-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Top Bar */
.top-bar {
    background-color: var(--fastbit-rymd);
    color: black;
    font-size: 0.9rem;
    padding: 0px;
    border-bottom: 1px solid var(--fastbit-hav);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: var(--fastbit-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info a:hover {
    text-decoration: underline;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-link {
    color: var(--fastbit-white);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    padding: 10px 15px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: all 0.2s ease;
}

.login-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.login-link.active,
.login-link[aria-current="page"] {
    color: var(--fastbit-hav);
    background-color: var(--fastbit-white);
    font-weight: 600;
    box-shadow: 0 -2px 0 var(--fastbit-hallon) inset;
}

.btn-contact {
    background-color: var(--fastbit-hallon);
    color: var(--fastbit-white);
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 500;
}

/* Main Header */
.main-header {
    padding: 15px 0;
    height: 100px;
    background-color: var(--fastbit-midnatt);
    color: var(--fastbit-white);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 32px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--fastbit-white);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--fastbit-white);
    font-weight: 800;
    text-underline-offset: 4px;
}

.main-nav a.active {
    padding: 10px 15px;
    border-radius: 4px;
}

.main-nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--fastbit-hallon);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    font-weight: 500;
}

.form-sections {
    padding: 10px;
}

.form-sections-form {
    background: rgb(from var(--fastbit-krita) r g b / .3);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
    display: none;
}

.form-control.visible {
    display: block;
}

.form-control:focus {
    outline: none;
    border-color: var(--fastbit-hav);
    box-shadow: 0 0 0 2px rgba(0, 115, 165, 0.1);
}

.form-control:disabled {
    background-color: #f9f9f9;
    color: #666;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--fastbit-hav);
    color: var(--fastbit-white);
}

.btn-primary:hover {
    background-color: #005d8c;
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--fastbit-white);
    margin-right: 10px;
}

.btn-action {
    background-color: var(--fastbit-hallon);
    color: var(--fastbit-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 2px;
}

.btn-action > span {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.btn-action:hover {
    background-color: rgb(from var(--fastbit-hallon) r g b / .7) !important;
    color: var(--fastbit-white);
}

.btn-action:hover > span {
    opacity: 1;
    visibility: visible;
    display: inline-block;
    margin-left: 5px;
}

.btn-action.disabled {
    background-color: var(--fastbit-betong);
    cursor: not-allowed;
}

.btn-action.disabled:hover {
    background-color: var(--fastbit-betong) !important;
    cursor: not-allowed;
}

.btn-action.subtle {
    background-color: var(--fastbit-betong);
}

.btn-action.subtle:hover {
    background-color: rgb(from var(--fastbit-betong) r g b / .7) !important;
}

.btn-action.neutral {
    background-color: var(--fastbit-hav);
}

.btn-action.neutral:hover {
    background-color: rgb(from var(--fastbit-hav) r g b / .7) !important;
}

.btn-action.positive {
    background-color: var(--fastbit-karibien);
}

.btn-action.positive:hover {
    background-color: rgb(from var(--fastbit-karibien) r g b / .7) !important;
}

.btn-action.negative {
    background-color: var(--fastbit-terrakotta);
}

.btn-action.negative:hover {
    background-color: rgb(from var(--fastbit-terrakotta) r g b / .7) !important;
}

.btn-full-width {
    width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.edit-btn {
    background: none;
    border: none;
    color: var(--fastbit-hav);
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.edit-btn:hover {
    text-decoration: underline;
}

.edit-btn svg {
    margin-right: 5px;
    width: 14px;
    height: 14px;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.readonly-field {
    background-color: #f9f9f9;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    color: #333;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.editing .readonly-field {
    display: none;
}

.editing .form-control {
    display: block;
}

.editing .edit-btn {
    display: none;
}

.editing .button-group {
    display: flex;
}

.button-group {
    display: none;
}

/* 
.mobile-header-buttons {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-header-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--fastbit-white);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}


.mobile-header-btn:hover {
    background-color: rgba(0, 115, 165, 0.1);
}

.mobile-header-btn svg {
    flex-shrink: 0;
}

.mobile-header-btn span {
    display: none;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--fastbit-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}


.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--fastbit-midnatt);
    z-index: 1002;
    transition: right 0.3s ease;
    padding: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--fastbit-white);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.mobile-menu-close:hover {
    color: var(--fastbit-hallon);
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-panel .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    background: transparent;
    padding: 0;
    width: 100%;
    display: block !important;
    visibility: visible !important;
}

.mobile-menu-panel .main-nav ul {
    flex-direction: column;
    gap: 0;
}

.mobile-menu-panel .main-nav > ul > li {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-panel .main-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--fastbit-white);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 16px;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.1);
    padding-left: 15px;
}

.mobile-menu-panel .submenu.active {
    max-height: 500px;
}

.mobile-menu-panel .submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-panel .submenu a {
    padding-left: 20px;
    position: relative;
}

.mobile-menu-panel .submenu a::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--fastbit-hallon);
}

.submenu-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.submenu-toggle.active::after {
    transform: rotate(180deg);
}

.mobile-menu-panel .main-nav a:hover,
.mobile-menu-panel .main-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-panel .menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-top: 60px;
    margin-top: 20px;
}
.user-menu .btn-logout {
    background-color: var(--fastbit-hallon) !important;
}

.mobile-menu-panel .user-menu {
    margin: 0;
    padding: 20px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: block !important;
    visibility: visible !important;
    text-align: center;
    position: sticky;
    bottom: 0;
    background-color: var(--fastbit-midnatt);
}

.mobile-menu-panel .user-menu .btn-logout {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    background-color: var(--fastbit-hallon);
    color: var(--fastbit-white);
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mobile-menu-panel .user-menu .btn-logout:hover {
    background-color: #d44615;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}
*/

/* Button Styles */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--fastbit-hav);
    color: var(--fastbit-white);
}

.btn-primary:hover {
    background-color: #005d8c;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--fastbit-hav);
    color: var(--fastbit-hav);
}

.btn-outline:hover {
    background-color: var(--fastbit-hav);
    color: var(--fastbit-white);
}

.btn-logout {
    background-color: var(--fastbit-betong);
    color: var(--fastbit-white);
}

.btn-logout:hover {
    background-color: #999999;
}

/* Main Content */
main {
    padding: 30px 0;
}

.page-banner {
    background-image: url('../assets/bakgrund.jpg');
    background-size: cover;
    color: var(--fastbit-white);
    border-radius: 8px;
    margin: 50px 0px 30px 0px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
}

.page-banner-image {
    display: block;
    position: absolute;
    top: -40;
    right: 0;
    z-index: 2;
    max-height: 300px;
}

.page-banner-menu {
    position: absolute;
    bottom: 10px;
    margin: 0px;
}

.page-banner-title-mobile {
    display: none;
}

.page-banner-content {
    position: relative;
    z-index: 4;
    flex: 1;
    padding: 0;
    margin: 0;
    height: 100%;
}

.page-banner-title {
    margin: 30px 0px 10px 30px;
    color: var(--fastbit-white);
    font-size: 2rem;
}

.page-banner-subtitle {
    margin: 10px 0px 0px 30px;
    color: var(--fastbit-white);
    font-size: 1rem;
}

.page-banner-menu {
    margin: 0px 0px 0px 30px;
}

/* Subscription List and Cards */
.subscription-list {
    margin-bottom: 40px;
}

h2 {
    color: var(--fastbit-midnatt) !important;
    margin-top: 40px !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #eee;
}

#subscription-change-modal {
    z-index: 2000000;
}

.subscription-card {
    flex-basis: calc(33% - 10px);
    flex-grow: 1; /* Remove? */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    background: var(--fastbit-tunnis);
    cursor: pointer;
    border: 1px solid #eee;
}

.subscription-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--fastbit-rymd);
    color: var(--fastbit-white);
}

.subscription-card .card-header .header-content {
    flex: 1;
    margin-right: 15px;
}

.subscription-card .card-header h3 {
    margin: 0 0 5px 0;
    padding-bottom: 10px;
    font-size: 1.5rem;
}

.subscription-card .subscription-address {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9em;
}

.pending-change-badge {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 0.8em;
}

.pending-change-badge .badge {
    background-color: var(--fastbit-hallon);
    color: var(--fastbit-white);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 8px;
    white-space: nowrap;
}

.pending-change-badge .change-details {
    color: var(--fastbit-hav);
    font-size: 0.9em;
}

.subscription-card.active .pending-change-badge .badge {
    background-color: var(--fastbit-hallon);
    color: var(--fastbit-white);
}

.subscription-card.active .pending-change-badge .change-details {
    color: rgba(255, 255, 255, 0.9);
}

.subscription-card.active .subscription-address {
    color: rgba(255, 255, 255, 0.9);
}

.subscription-card .card-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--fastbit-black);
    padding: 20px;
}

.subscription-card .info-item {
    flex: 1;
    min-width: 120px;
}

.subscription-card .card-body .label {
    display: block;
    font-size: 0.85em;
    color: var(--fastbit-black);
    margin-bottom: 4px;
}

.subscription-card .value {
    color: var(--fastbit-black);
    font-weight: 500;
}

.subscription-card .status {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.subscription-card .card-header h3,
.subscription-card .card-header h4 {
    color: var(--fastbit-white);
    margin: 0px;
}

.subscription-card .value {
    display: block;
    font-weight: 500;
}

.subscription-card .card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 0 20px 20px 20px;
}

.subscription-card.active .card-header {
    background-color: var(--fastbit-rymd);
    color: var(--fastbit-white);
}

.subscription-card .card-content {
    padding: 20px;
    background: var(--fastbit-white);
    color: #333;
}

.subscription-card.active .subscription-type,
.subscription-card.active .detail-label,
.subscription-card.active .detail-value,
.subscription-card.active .price,
.subscription-card.active .subscription-name,
.subscription-card.active .subscription-address {
    color: var(--fastbit-white);
}

/* Style for cancelled subscriptions when 'Alla' is selected */
.subscription-card.cancelled {
    opacity: 0.6;
    border-left-color: #999;
}

.subscription-card.cancelled .subscription-status {
    background: #f5f5f5;
    color: #666;
}

.subscription-card.cancelled .subscription-type,
.subscription-card.cancelled .detail-value {
    color: #999;
}

.subscription-card.cancelled:hover {
    opacity: 0.8;
}

.subscription-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.subscription-name {
    font-weight: 600;
    color: var(--fastbit-midnatt);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.subscription-status {
    background: #e6f7ed;
    color: #0f9d58;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.subscription-address {
    color: #666;
    margin-bottom: 5px;
}

.subscription-details {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.detail-item {
    text-align: center;
    flex: 1;
}

.detail-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 3px;
}

.detail-value {
    font-weight: 500;
    color: #333;
}

/* Subscription Filters */
.filters {
    background-image: url('../assets/bakgrund.jpg');
    background-size: cover;
    color: var(--fastbit-white);
    padding: 20px;
    border-radius: 8px;
    margin-top: 50px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #FFF;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Subscription Cards Grid */
.subscription-cards {
    /*display: grid;
    grid-template-columns: minmax(350px, max-content) repeat(auto-fill, 450px) 30%;
    gap: 20px;
    */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1;
}

/* TV Card Specific Styles */
.tv-card {
    grid-column: 2 / -1;
    max-width: calc(200% - 20px); /* Makes it twice as wide minus the gap */
}

.tv-card .card-body {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tv-card .service-details {
    padding: 20px;
}

.tv-card .service-details > p {
    margin: 0;
    padding-right: 20px;
}

.tv-card .channel-plan {
    margin: 10px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--fastbit-betong);
}

.tv-card .channel-plan-img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: cover;
    display: block;
}

.card {
    background: var(--fastbit-midnatt);
    color: var(--fastbit-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--fastbit-betong);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.card-header h4 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--fastbit-white);
}

.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--fastbit-white);
}

.status.aktiv, .form-banner.aktiv {
    background-color: var(--fastbit-karibien);
}

.status.avlutad , .form-banner.avlutad {
    background-color: var(--fastbit-hav);
}

.status.aktiveras, .form-banner.aktiveras {
    background-color: var(--fastbit-hallon);
}

.status.avslutas, .form-banner.avslutas {
    background-color: var(--fastbit-hallon);
}

.status.spärrad, .form-banner.spärrad {
    background-color: var(--fastbit-terrakotta);
}

.status.okänt, .form-banner.okänt {
    background-color: var(--fastbit-terrakotta);
}

.card-body {
    padding: 20px;
    color: var(--fastbit-black);
    background-color: var(--fastbit-tunnis);
}

.price-container {
    margin-bottom: 15px;
}

.card-body .price {
    font-size: 1.0rem;
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--fastbit-black);
}

.service-address {
    color: var(--fastbit-black);
    font-size: 1.0rem;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    align-items: baseline;
    font-style: italic;
}

.original-price {
    text-decoration: line-through;
    color: var(--fastbit-hallon);
    font-weight: normal;
    font-size: 1.0rem;
}

.actual-price {
    color: var(--fastbit-black);
    font-weight: bold;
    font-size: 1.0rem;
}

.price-label {
    font-size: 0.9rem;
    color: var(--fastbit-black);
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.detail-item .icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.channel-plan {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.channel-plan-img {
    width: 100%;
    height: auto;
    display: block;
}

.card-body p {
    margin-bottom: 15px;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Quick Actions */
.action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.action-card {
    background-color: var(--fastbit-krita);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--fastbit-black);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-basis: calc(20% - 50px);
    flex-grow: 1; /* Remove? */
}

.action-card div img{
    height: 72px;
    margin: 10px;
    object-fit: contain;
    vertical-align: middle;
}

.action-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.action-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 96px;
}

/*
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 1200px;
}
*/
.footer {
    background-color: var(--fastbit-midnatt);
    color: var(--fastbit-white);
    padding: 30px 0;
    margin-top: 50px;
    width: 100%;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--fastbit-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.copyright {
    color: var(--fastbit-white);
    opacity: 0.8;
    font-size: 0.9rem;
}

.form-section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.form-sections h3 {
    width: 100% !important;
    margin: 30px 0px 10px 20px !important;
    padding: 0px !important;
    font-size: 24px;
}

/* Form Elements */
.form-group {
    padding: 1rem 1.25rem;
    background-color: var(--fastbit-krita);
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-basis: calc(50% - 50px);
    flex-grow: 1; /* Remove? */
}

.form-group-full {
    flex-basis: 100%;
    flex-grow: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group > div {
    padding: 0px;
}   

.form-group > div > i {
    padding: 15px 0px 15px 15px;
    display: block;
}

.form-group > div > span {
    padding: 10px !important;
    font-size: 16px;
    flex-grow: 1;
}

.form-control:focus {
    border-color: var(--fastbit-hav);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    outline: none;
    background-color: #fff;
}

.form-control-static {
    min-height: 1.5rem;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: block;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.form-control[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

/* Select dropdown styling */
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.overflow-hidden {
    overflow: hidden;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    flex-direction: column;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.clear {
    clear: both;
    display: flex;
    flex-direction: column;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--fastbit-midnatt);
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

.modal-overlay.visible > div.modal {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Speed change specific modal */
.speed-change-dialog {
    max-width: 450px; /* Narrower than the default 800px */
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--fastbit-midnatt);
}

/* Form control styles */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #fff;
    color: #333;
    height: auto;
}

.form-control:focus {
    border-color: var(--fastbit-hav);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    outline: none;
}

/* Select dropdown styles */
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.modal-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--fastbit-betong);
    background-color: var(--fastbit-rymd);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
}

.modal-header h2 {
    color: var(--fastbit-white) !important;
    margin: 0 0 0 1rem !important;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fastbit-midnatt);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--fastbit-white);
    cursor: pointer;
    padding: 0.25rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    transition: color 0.2s ease;
    width: 36px;
    height: 36px;
}

.modal-close:hover {
    color: rgb(from var(--fastbit-white) r g b / .7) !important;
    font-weight: 2rem;
    background-color: transparent;
}

.modal-footer {
    padding: 1.25rem 0px;
    border-top: 1px solid var(--fastbit-betong);
    display: flex;
    justify-content: right;
    gap: 1rem;
    background-color: var(--fastbit-krita);
    border-radius: 0 0 8px 8px;
    width: 100%;
}

.modal-footer .btn {
    margin: 0px 1rem;
}

/*
.modal-footer .btn-primary {
    background-color: var(--fastbit-hav);
    border-color: var(--fastbit-hav);
}

.modal-footer .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.modal-footer .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.modal-footer .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
*/
.text-white {
    color: var(--fastbit-white) !important;
}

.modal-footer-left {
    margin-right: auto;
}

.modal-footer-right {
    display: flex;
    gap: 10px;
    align-items: right;
}

.speed-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.speed-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--fastbit-betong);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.speed-option:hover {
    border-color: var(--fastbit-hav);
    background-color: #f5f9ff;
}

.speed-option input[type="radio"] {
    margin-right: 10px;
}

.speed-details {
    display: flex;
    flex-direction: column;
}

.speed {
    font-weight: bold;
    color: var(--fastbit-hav);
}

.price {
    font-size: 0.9rem;
    color: var(--fastbit-betong);
}

.btn-danger {
    background-color: #dc3545;
    color: var(--fastbit-white);
}

.btn-danger:hover {
    background-color: #bb2d3b;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    background-color: #28a745;
    color: var(--fastbit-white);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1100;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.error {
    background-color: #dc3545;
}

.notification.warning {
    background-color: #ffc107;
    color: #212529;
}

.modal-content {
    background-color: var(--fastbit-white);
    flex: 1;
}

.form-banner {
    width: 100%;
    margin: 0 auto;
    padding: 6px 20px 6px 20px;
    border-radius: 6px;
    background-color: var(--fastbit-hav);
    color: var(--fastbit-white);
    font-size: 0.9rem;
}
