.fs-0-85 {
    font-size: 0.85rem;
}
.vh-100 {
    height: 100vh;
}
.max-w-100{
    max-width: 100%;
}
.btn-main {
    background: linear-gradient(to right, #3f865d, #6BA68E);
    color: white;
    &:hover {
        transform: scale(1.02);
        transition: all 0.2s ease;
        color: #fff;
    }
}
.bg-login-register {
    background: linear-gradient(to bottom, #3F7D58 0%, #A2C9B3 100%, #F8F9F4 100%);
    background: #3F7D58;
}
.login-page .form-group .form-control:focus {
    border-color: #002d2b;
}
.title h1 {
    font-size: 2rem;
    font-weight: 600;
}

.dashboard-card {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

/* quick start */
.quick-start .card {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-header {
    border-radius: 1rem 1rem 0 0 !important;
}

.card-header h5 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: .85rem;
}

.step-item {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: .5rem 1rem;
}

.step-item:last-child {
    border-bottom: none;
}

.rounded-pill {
    border-radius: 50rem;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #a0aec0;
    cursor: pointer;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.modal-info {
    background-color: #f0f7ff;
    padding: 16px;
    text-align: center;
    color: #3182ce;
    font-size: 15px;
}

.company-info {
    text-align: center;
    color: #6366f1;
    font-weight: 500;
}
.qr-container {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.qr-code {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 24px;
}
.qr-code img {
    width: 200px;
    height: 200px;
}
.contact-info {
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 12px;
    margin: 0 20px;
}
.info-label {
    color: #718096;
    font-size: 14px;
    margin-bottom: 6px;
}
.info-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    background-color: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.info-value:last-child {
    margin-bottom: 0;
}
.info-text {
    font-size: 15px;
    color: #4a5568;
    flex-grow: 1;
    outline: none;
}
.copy-btn {
    background-color: #f3f4f6;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: #4b5563;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.2s;
}
.copy-btn:hover {
    background-color: #e5e7eb;
}
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.whatsapp-btn:hover {
    background-color: #20b958;
}
.whatsapp-btn svg {
    margin-right: 8px;
}
.lw-btn {
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
}
.tab-container {
    margin-bottom: 1.5rem;
  }
.tab-container  .tabs {
    display: inline-flex;
    background-color: white;
    border-radius: 8px;
    padding: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
.tab-container .nav-tabs .nav-link {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: transparent;
  }
  
.tab-container .nav-tabs .nav-link.active {
    background-color: #e8f5ee !important;
    color: #3c8d60 !important;
}
.campaign-list .table th {
    text-align: left;    
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
 .campaign-list .table td {
    padding: 1.25rem 1rem;
    /* border-bottom: 1px solid #e9ecef; */
    color: #343a40;
  }
  
 .campaign-list .table tr:last-child td {
    border-bottom: none;
  }
  
 .campaign-list .table tr:hover {
    background-color: #f8f9fa !important;
  }
.campaign-list .dataTables_wrapper .dataTables_length select{
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
}
.bg-excuted{
    background-color: #ffebe8;
    color: #ff6b4a;
}
.btn-outline {
    background-color: transparent;
    border: 1px solid #ced4da;
    color: #495057;
    &:hover{
        border-color: #3c8d60;
        color: #3c8d60; 
    }
  }
  .header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 16px;
}
.campaign-info .info-label {
    /* color: #546e7a; */
    font-size: 14px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.campaign-info .info-group .campaign-lead {
    font-size: 18px;
    font-weight: 500;
}
.divider {
    height: 1px;
    margin: 12px 0;
}
/* Icon styles */
.icon {
    width: 18px;
    height: 18px;
}

.step-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    /* color: var(--primary-dark); */
    font-weight: 600;
}

.step-number {
    /* background-color: var(--primary); */
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.9rem;
}
.template-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.template-detail {
    display: flex;
    flex-direction: column;
}
.detail-label {
    font-size: 0.8rem;
    color: #666;
}

.detail-value {
    font-weight: 600;
}
.image-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}
.image-upload:hover {
    border-color: #3c8d60;
}
.image-upload svg {
    margin-bottom: 1rem;
    color: #999;
}
.form-title{
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.image-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.lw-file-uploader{
    width: 100%;
}
.toggle-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.toggle-container .toggle {
    position: relative;
    width: 56px;
    height: 28px;
    margin-right: 10px;
}
.toggle-container .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.toggle-container .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--primary);
}
input:checked + .slider:before {
    transform: translateX(28px);
}
.toggle-container .toggle-label {
    font-weight: 500;
}
.toggle-container .toggle-hint {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.3rem;
}
.preview-container {
    position: sticky;
    top: 2rem;
}

.preview-title {
    margin-bottom: 1rem;
    color: #555;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.preview-title svg {
    margin-right: 8px;
}

.message-preview {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.preview-frame {
    background-color: #ECE5DD;
    padding: 1rem;
    position: relative;
    min-height: 400px;
}

.message-bubble {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}
.message-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.message-image {
    width: 100%;
    height: 160px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.message-text {
    text-align: center;
    margin-bottom: 1rem;
    color: #444;
    font-size: 0.95rem;
}
.bg-status-badge-warning{
    background-color: #fff3cd;
    color: #856404;
}
.bg-status-badge-success{
    background-color: #d4edda;
}
.bg-status-badge-danger{
    background-color: #f8d7da;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
} 
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.button-config {
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.button-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
}
.button-type {
    font-weight: 500;
}
.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}
.plan-title {    
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.plan-price {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.plan-price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}
.feature {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.feature:hover {
    background-color: rgba(46, 125, 50, 0.05);
}
.feature-icon {    
    margin-right: 1rem;
    flex-shrink: 0;
}
.feature-text {
    font-size: 1rem;
    color: var(--text);
}
.expiry {
    background-color: rgba(255, 109, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.expiry-icon {
    margin-right: 0.75rem;
}
.flowchart-operator{
    border: 0 !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 0.4rem;
}
.settings-header{
    padding: 16px 20px;
}
.settings-header .icon {
    margin-right: 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-header h2 {
    font-size: 18px;
    font-weight: 500;
}
.business-setting .nav-link {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 0;
    background-color: transparent;
}
.business-setting .nav-link:focus{
    outline: none;
}
.business-setting .nav-link.active {
    color: #3f7d58;
    border-top: 3px solid #3f7d58 !important;
    margin-top: -3px;
}
.collapsible-header {
    cursor: pointer;
    position: relative;
}

.collapsible-header::after {
    content: '\25BC';
    position: absolute;
    right: 20px;
    top: 40%;
    transform: rotate(-90deg);
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.collapsible-header.collapsed::after {
    transform: rotate(0deg);
}
.permission-tag {
    display: inline-block;
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 3px;
    margin: 3px;
    font-size: 0.8rem;
}
.info-list {
    list-style: none;
}

.info-list li {
    padding: 12px 0;    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-list li:last-child {
    border-bottom: none;
}
.whatsapp-info .info-text {
    font-weight: 500;
}

.badge-green {
    background-color: #d4edda;
    color: #28a745;
}
.badge-red {
    background-color: #f8d7da;
    color: #dc3545;
}
.badge-yellow {
    background-color: #fff3cd;
    color: #856404;
}
.badge-skyblue {
    background-color: #e3f2fd;
    color: #1e88e5;
}
.whatsapp-info .info-label {
    font-size: 12px;
}
.card-header-custom {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    cursor: pointer;
}
.required {
    margin-left: 5px;
    font-weight: normal;
    font-size: 14px;
}
.click-expand {
    font-size: 12px;
    margin-left: 5px;
    font-weight: normal;
}
.alert-green {
    background-color: #e8f5e9;
    color: #3c8a64;
    border: 1px solid #c8e6c9;
}
.alert-red {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}
.alert-skyblue{
    background-color: #e3f2fd;
    color: #1e88e5;
    border: 1px solid #bbdefb;
}
/* whatsapp chat */
.whatsapp-chat .sidebar-header {
    padding: 16px;
    background-color: #f0f2f5;
}
.whatsapp-chat .mark-quetion{
    font-weight: bold;
}
.whatsapp-chat .filter-tabs {
    display: flex;
}
.whatsapp-chat .tab {
    flex: 1;
}
.whatsapp-chat .tab .tab-link{
    padding: 12px;
    text-align: center;
    cursor: pointer;
}
.whatsapp-chat .tab .tab-link.active {
    background-color: #3f7d58;
    color: white;
    font-weight: 500;
}
.whatsapp-chat .search-box input {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    outline: none;
    font-size: 14px;
    height: auto;
}
.whatsapp-chat .contact-list {
    flex: 1;
    overflow-y: auto;
}
.whatsapp-chat .contact {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.whatsapp-chat .contact:hover {
    background-color: #f5f5f5;
}
.whatsapp-chat .contact-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}
.whatsapp-chat .contact-detail {
    flex: 1;
    overflow: hidden;
}
.whatsapp-chat .contact-name {
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.whatsapp-chat .contact-number {
    font-size: 13px;
    color: #606060;
}
.whatsapp-chat .contact-time {
    font-size: 12px;
    color: #8c8c8c;
    margin-top: 5px;
}
.whatsapp-chat .chat-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #1e3932;
    color: white;
    border-bottom: 1px solid #e6e6e6;
}
.whatsapp-chat .header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #00a884;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
}
.whatsapp-chat .header-info {
    flex: 1;
}
.whatsapp-chat .header-name {
    font-weight: 500;
    margin-bottom: 2px;
}
.whatsapp-chat .header-status {
    font-size: 12px;
    color: #ffe066;
}
.whatsapp-chat .header-actions {
    display: flex;
    align-items: center;
}
.whatsapp-chat .info-panel {
    width: 320px;
    background: white;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.whatsapp-chat .info-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-chat .info-header-text {
    font-weight: 500;
}

.whatsapp-chat .edit-button {
    background-color: #f0f2f5;
    color: #606060;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.whatsapp-chat .edit-button .icon i {
    font-size: 0.85rem;
}
.whatsapp-chat .edit-button .icon {
    margin-right: 4px;
}

.whatsapp-chat .info-section h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}
.navbar-vertical.navbar-expand-md .navbar-nav .nav-item:hover {
    background-color: #f0f5ff;    
    color: #3f7d58;
}

.navbar-vertical.navbar-expand-md .navbar-nav .nav-item .active {
    background-color: #f0f5ff; 
    color: #3c8a64 !important;
}
.card-header-custom i{
    font-size: 2rem;
}
@media(max-width:768px){
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .settings-header h2 {
        font-size: 16px;
    }
}