/* main.blade.php */

.main-page {
    height: 100%;
    margin: 0;
    padding: 0;
}

.main-custom-text-color {
    color: #22205F;
}

.main-bg-section {
    background: url('../images/mainp4.jpeg') center/cover no-repeat;
    position: relative;
    padding: 150px;
    width: 100%;
    height: 100vh;
}

.main-bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.main-bg-section > * {
    position: relative;
    z-index: 1;
}

.main-carousel-img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.main-nav-links a {
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.main-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #22205F;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.main-nav-links a:hover {
    color: #22205F;
}

.main-nav-links a:hover::after {
    transform: scaleX(1);
}

.main-feature-card {
    background-color: #faf8f8 !important;
    color: rgb(0, 0, 0);
    transition: transform 0.3s ease-in-out;
}

.main-feature-card:hover {
    transform: translateY(-10px);
}

.main-crm-info {
    padding: 50px 0;
}

.main-crm-info img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-crm-info ul {
    padding-left: 0;
}

.main-crm-info li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.main-crm-info .btn {
    margin-top: 20px;
}

.main-card-style {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.main-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.main-cta-button {
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 5px;
}

/* login.blade.php */

.login-page-container {
    position: relative;
    height: 100vh;
    background: url('/images/login3.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    overflow: hidden;
}

.login-page-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85); 
    z-index: 1;
}

.login-page-container > * {
    position: relative;
    z-index: 2;
}

.login-card {
    max-width: 1000px;
    width: 100%;
    height: 650px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
}

.login-form-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.login-logo-img {
    max-width: 180px;
    margin: 0 auto 2.5rem;
    display: block;
}

.login-image-section {
    background: url('/images/login2.jpeg') no-repeat center center;
    background-size: cover;
    height: 100%;
}

.login-forgot-password-link {
    font-size: 0.9rem;
    color: #4C6EF5;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
}

.login-forgot-password-link:hover {
    text-decoration: underline;
}

.login-signup-message {
    text-align: center;
}

.login-line-input {
    border: none !important;
    border-bottom: 1.5px solid #ccc !important;
    border-radius: 0 !important;
    padding-left: 0.75rem;
    padding-right: 2.5rem;
    box-shadow: none !important;
    background-color: transparent !important;
    outline: none !important;
}

.login-line-input:focus {
    border-bottom: 1.5px solid #4C6EF5 !important; /* optional highlight */
    outline: none !important;
    box-shadow: none !important;
}

.login-input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.login-input-icon-left {
    left: 0;
}

.login-input-icon-right {
    right: 0;
    cursor: pointer;
}

.login-form-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.login-form-wrapper {
    margin-top: 1rem;
    padding-bottom: 3rem;
}

.login-alert {
    font-size: 0.9rem;
}

.login-btn {
    padding: 0.6rem 1.2rem;
}

.login-form-content {
    margin-top: 30px; /* Adjust this value as needed */
}

/* Register.blade.php */

.register-page-bg {
    position: relative;
    background: url('/images/register3.jpeg') no-repeat center center fixed;
    background-size: cover;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 60px;
}

.register-page-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.register-glass-card {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 12px;
}

.register-form-control {
    height: 50px;
    border-radius: 8px;
}

.register-form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: #86b7fe;
}

.register-btn-primary {
    padding: 12px 0;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 8px;
    font-size: 1rem;
}

.register-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.register-alert {
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.register-form-group {
    margin-bottom: 1.25rem; /* Consistent spacing */
}

.register-form-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #212529;
    font-size: 1.75rem;
}

.register-form-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.register-login-link {
    margin-top: 1.5rem;
    text-align: center;
    color: #6c757d;
}

.register-login-link a {
    color: #0d6efd;
    font-weight: 500;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

/* Consistent column spacing */
.form-floating {
    margin-bottom: 1.25rem;
}

.password-toggle-container {
    position: relative;
}

.login-input-icon-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.login-input-icon-right:hover {
    color: #495057;
}

.password-field-with-toggle {
    padding-right: 45px !important;
}

.input-group .form-control {
    height: calc(3.5rem + 2px); /* Match the height of other form-floating inputs */
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.input-group-text {
    height: calc(3.5rem + 2px); /* Match the height of the input */
    align-items: center;
}

.phone-input-group {
    margin-bottom: 1.25rem; /* Same as other form-floating elements */
}

.input-group .form-floating {
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0; /* Remove margin from nested form-floating */
}

/* Dashboard.blade.php */

.welcome-header {
    text-align: center;
    padding: 2rem 0;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #22205f;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

/* Feature Cards - Enhanced */
.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    backdrop-filter: blur(10px);
}

/* Colored left border accent */
.feature-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #22205f, #3a3785);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Top gradient bar - more prominent */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #22205f, #3a3785);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(34, 32, 95, 0.2);
    border-color: #22205f;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

/* Background gradient overlay for cards */
.contacts-icon ~ * {
    position: relative;
}

.feature-card:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.feature-card:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.03) 0%, rgba(245, 87, 108, 0.03) 100%);
}

.feature-card:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.03) 0%, rgba(0, 242, 254, 0.03) 100%);
}

.feature-card:nth-child(4):hover {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.03) 0%, rgba(56, 249, 215, 0.03) 100%);
}

.feature-card:nth-child(5):hover {
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.03) 0%, rgba(254, 225, 64, 0.03) 100%);
}

.feature-card:nth-child(6):hover {
    background: linear-gradient(135deg, rgba(48, 207, 208, 0.03) 0%, rgba(51, 8, 103, 0.03) 100%);
}

/* Enhanced icon styling */
.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Icon glow effect */
.feature-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    padding: 3px;
    background: inherit;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.5;
}

/* Pulsing animation for icons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-icon {
    animation: pulse 3s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    animation: none;
}

/* Icon Colors - Enhanced with more depth */
.contacts-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.calendar-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.products-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.tickets-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.quotations-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.company-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
}

/* Enhanced typography */
.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #22205f;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #3a3785;
}

.feature-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Enhanced arrow button */
.feature-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    color: #22205f;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-arrow {
    background: linear-gradient(135deg, #22205f, #3a3785);
    color: white;
    transform: translateX(8px) scale(1.1);
    box-shadow: 0 4px 12px rgba(34, 32, 95, 0.3);
}

/* Arrow bounce animation */
@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.feature-card:hover .feature-arrow {
    animation: arrowBounce 1s ease-in-out infinite;
}

/* Quick Stats - Enhanced */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease;
    cursor: default;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22205f, #3a3785);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(34, 32, 95, 0.25);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(34, 32, 95, 0.35);
}

.stat-content {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #22205f;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.35rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .welcome-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 75px;
        height: 75px;
        font-size: 1.875rem;
    }
    
    .quick-stats {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 1.75rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.35rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .stat-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .welcome-header {
        padding: 1rem 0;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
}

/* Enhanced entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.25s; }
.feature-card:nth-child(5) { animation-delay: 0.3s; }
.feature-card:nth-child(6) { animation-delay: 0.35s; }

/* Add shine effect on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.feature-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* contact.blade.php (show.blade.php) */

/* Status Arrow Flow Styling */
.status-flow {
    display: flex;
    width: 100%;
    margin-top: 50px;
    overflow-x: auto;
    gap: 0;
    min-height: 50px;
}

.status-step-form {
    flex: 1;
    margin: 0;
    padding: 0;
    min-width: 0; /* Allow flex items to shrink below content size */
}

.status-step {
    width: 100%;
    background-color: #e0e0e0;
    color: #000;
    font-weight: bold;
    padding: 12px 8px;
    text-align: center;
    border: none;
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    z-index: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-step.first {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.status-step.last {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
}

.status-step.active {
    background-color: #22205f;
    color: #fff;
}

.status-step.completed {
    background-color: #4caf50;
    color: #fff;
}

.status-step:hover {
    opacity: 0.85;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .status-flow {
        flex-direction: column;
        gap: 2px;
        margin-top: 20px;
    }
    
    .status-step-form {
        flex: none;
        width: 100%;
    }
    
    .status-step {
        clip-path: none;
        border-radius: 4px !important;
        margin-bottom: 2px;
        padding: 10px 15px;
        white-space: normal;
        text-overflow: initial;
        overflow: visible;
    }
    
    .status-step.first,
    .status-step.last {
        clip-path: none;
    }
    
    /* Add visual indicator for mobile */
    .status-step::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: currentColor;
        opacity: 0.7;
    }
    
    .status-step span {
        margin-left: 20px;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .status-step {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .status-flow {
        margin-top: 15px;
    }
}

/* Alternative: Horizontal scroll for very small screens */
@media (max-width: 576px) {
    .status-flow {
        flex-direction: row; /* Keep horizontal */
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .status-step-form {
        flex: 0 0 auto;
        min-width: 120px; /* Fixed minimum width */
    }
    
    .status-step {
        font-size: 11px;
        padding: 8px 5px;
        white-space: nowrap;
    }
    
    .status-step::before {
        display: none;
    }
    
    .status-step span {
        margin-left: 0;
    }
    
    /* Custom scrollbar for webkit browsers */
    .status-flow::-webkit-scrollbar {
        height: 4px;
    }
    
    .status-flow::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .status-flow::-webkit-scrollbar-thumb {
        background: #22205f;
        border-radius: 2px;
    }
    
    .status-flow::-webkit-scrollbar-thumb:hover {
        background: #1a1849;
    }
}

/* For extremely small screens, show abbreviated text */
@media (max-width: 400px) {
    .status-step span {
        font-size: 10px;
    }
    
    /* You could also add data attributes to show shorter versions */
    .status-step[data-short-text]::after {
        content: attr(data-short-text);
    }
    
    .status-step[data-short-text] span {
        display: none;
    }
}

/* Optional Hover Effect */
.status-step:hover {
    opacity: 0.85;
}

.action-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}
.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.action-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.task-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
}
.task-description {
    min-height: 60px;
}
.btn-group .btn {
    z-index: 10;
}
/* Contact Information Styling */
.contact-avatar {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #22205f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.section-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #22205f;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #22205f;
}

.contact-info-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contact-info-item i {
    margin-top: 3px;
    width: 20px;
}

.contact-info-item a {
    text-decoration: none;
    color: #495057;
    transition: color 0.2s;
}

.contact-info-item a:hover {
    color: #007bff;
}

.create-task-btn:hover {
    background-color: #22205f ;
    border-color: #22205f ;
}

.emp-task-row:hover {
    background-color: #22205f;
    color: white;
    cursor: pointer;
}
.emp-create-task-btn:hover {
    background-color: #22205f;
    border-color: #22205f;
}

 /* Color Variables */
    :root {
        --notes-primary: #22205f;
        --notes-primary-light: rgba(34, 32, 95, 0.1);
        --notes-primary-hover: #1a1847;
    }

    /* Card Styles */
    .notes-card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .notes-card__header {
        background: linear-gradient(135deg, var(--notes-primary) 0%, var(--notes-primary-hover) 100%);
        padding: 1.25rem 1.5rem;
        border: none;
    }

    .notes-card__title {
        font-weight: 600;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .notes-card__title-icon {
        margin-right: 12px;
        font-size: 1.1em;
    }

    .notes-card__body {
        padding: 1.5rem;
    }

    /* Timeline Styles */
    .notes-timeline {
        position: relative;
        padding: 0;
        list-style: none;
        margin: 0;
    }

    .notes-timeline::before {
        content: '';
        position: absolute;
        left: 24px;
        top: 0;
        height: 100%;
        width: 2px;
        background: linear-gradient(to bottom, var(--notes-primary), rgba(34, 32, 95, 0.3));
    }

    .notes-timeline__item {
        position: relative;
        margin-bottom: 2rem;
        padding-left: 70px;
    }

    .notes-timeline__item:last-child {
        margin-bottom: 0;
    }

    .notes-timeline__marker {
        position: absolute;
        left: 0;
        top: 8px;
    }

    .notes-timeline__indicator {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--notes-primary) !important;
        border: 3px solid white;
        box-shadow: 0 0 0 3px var(--notes-primary-light);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
    }

    .notes-timeline__content {
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        position: relative;
    }

    .notes-timeline__content:hover {
        box-shadow: 0 4px 16px rgba(34, 32, 95, 0.15);
        transform: translateY(-2px);
    }

    .notes-timeline__content::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 8px 8px 0;
        border-color: transparent white transparent transparent;
    }

    /* Note Components */
    .note-header {
        border-bottom: 1px solid #f8f9fa;
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .note-badge {
        font-weight: 500;
        padding: 0.35em 0.75em;
        border-radius: 50px;
        font-size: 0.85em;
    }

    .note-badge--date {
        background-color: var(--notes-primary-light);
        color: var(--notes-primary);
    }

    .note-badge--user {
        background-color: #e9ecef;
        color: #495057;
    }

    .note-content {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #495057;
    }

    .note-actions {
        border-top: 1px solid #f8f9fa;
        padding-top: 1rem;
        margin-top: 1rem;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    /* Empty State */
    .notes-empty {
        text-align: center;
        padding: 3rem 2rem;
        background: var(--notes-primary-light);
        border-radius: 12px;
        border: 2px dashed var(--notes-primary);
    }

    .notes-empty__icon {
        font-size: 3rem;
        color: var(--notes-primary);
        margin-bottom: 1rem;
    }

    .notes-empty__title {
        font-weight: 600;
        color: var(--notes-primary);
        margin-bottom: 0.75rem;
    }

    /* Buttons */
    .notes-btn {
        border-radius: 8px;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        transition: all 0.2s ease;
    }

    .notes-btn--primary {
        background-color: var(--notes-primary);
        border-color: var(--notes-primary);
        color: white;
    }

    .notes-btn--primary:hover {
        background-color: var(--notes-primary-hover);
        border-color: var(--notes-primary-hover);
    }

    .notes-btn--outline-primary {
        color: var(--notes-primary);
        border-color: var(--notes-primary);
    }

    .notes-btn--outline-primary:hover {
        background-color: var(--notes-primary);
        color: white;
    }

    /* Pagination */
    .notes-pagination .page-item.active .page-link {
        background-color: var(--notes-primary);
        border-color: var(--notes-primary);
    }

    .notes-pagination .page-link {
        color: var(--notes-primary);
    }

    .notes-pagination .page-link:hover {
        color: var(--notes-primary-hover);
        background-color: var(--notes-primary-light);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .notes-timeline__item {
            padding-left: 50px;
        }
        
        .notes-timeline__indicator {
            width: 30px;
            height: 30px;
            font-size: 12px;
        }
        
        .notes-timeline::before {
            left: 15px;
        }
        
        .notes-card__header {
            padding: 1rem;
        }
        
        .notes-card__body {
            padding: 1rem;
        }
    }

    .task-assigned-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #22205f 0%, #3a3785 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.assigned-text {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Task Description Styles */
.task-assigned-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #22205f 0%, #3a3785 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.assigned-text {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Task Description Styles */
.task-description {
    margin-top: 1rem;
}

.task-description-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #22205f;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.task-description-label i {
    color: #3a3785;
}

.task-description-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #22205f;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #495057;
}

/* contact.blade.php (edittask.blade.php) */

.task-edit-submit-btn:hover {
    background-color: #1a1949;
    border-color: #1a1949;
}

.task-edit-cancel-btn:hover {
    background-color: #5c636a;
    border-color: #5c636a;
}

/* contact.blade.php (confirm_delete.blade.php) */

.modal-backdrop {
    opacity: 0.5 !important;
    background-color: #000 !important;
}
.show {
    display: block !important;
}

/* Container styling */
.task-list-container {
    margin: 15px 0;
}

/* Task list styling */
.task-list {
    max-height: 250px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    background-color: #fff;
}

/* Table styling */
.task-list table {
    margin-bottom: 0;
}

/* Header styling */
.task-list thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    padding: 12px 10px;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Row styling */
.task-list tbody tr {
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.2s ease;
}

.task-list tbody tr:last-child {
    border-bottom: none;
}

.task-list tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
    transform: translateY(-1px);
}

/* Cell styling */
.task-list tbody td {
    vertical-align: middle;
    font-size: 0.9rem;
    padding: 10px;
}

/* Task name styling */
.task-name {
    font-weight: 500;
    color: #212529;
    display: flex;
    align-items: center;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-name i {
    margin-right: 8px;
    font-size: 14px;
}

/* Status badge styling */
.status-badge {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

/* Status colors */
.status-pending {
    background-color: #e9ecef;
    color: #495057;
}

.status-in-progress {
    background-color: #cff4fc;
    color: #055160;
}

.status-completed {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-urgent {
    background-color: #f8d7da;
    color: #842029;
}

/* Due date styling */
.due-date {
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Priority indicator */
.priority-indicator {
    width: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.priority-high {
    position: relative;
}

.priority-high .priority-indicator {
    background-color: #dc3545;
}

.priority-medium {
    position: relative;
}

.priority-medium .priority-indicator {
    background-color: #fd7e14;
}

.priority-low {
    position: relative;
}

.priority-low .priority-indicator {
    background-color: #198754;
}

/* Empty state */
.empty-state {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

/* Scrollbar styling */
.task-list::-webkit-scrollbar {
    width: 8px;
}

.task-list::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 8px;
}

.task-list::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 8px;
}

.task-list::-webkit-scrollbar-thumb:hover {
    background-color: #adb5bd;
}

.warning-icon {
    color: #ffc107;
    font-size: 2.5rem;
}

/* Multiple Channel */
.platform-content {
        transition: all 0.3s ease;
    }
    
    /* Facebook Styles */
    .facebook-post {
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        background-color: #fff;
    }
    .facebook-header {
        display: flex;
        align-items: center;
        padding: 12px 16px;
    }
    .facebook-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 8px;
        background-color: #e9ebee;
    }
    .facebook-actions {
        display: flex;
        justify-content: space-between;
        padding: 8px 16px;
        border-top: 1px solid #e4e6eb;
    }
    .facebook-action-btn {
        display: flex;
        align-items: center;
        color: #65676b;
        font-weight: 600;
        font-size: 0.9rem;
    }

    /* Instagram Styles */
    .instagram-post {
        border: 1px solid #dbdbdb;
        border-radius: 3px;
        background-color: #fff;
    }
    .instagram-header {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        border-bottom: 1px solid #efefef;
    }
    .instagram-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 12px;
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }
    .instagram-actions {
        padding: 8px 16px;
    }
    .instagram-likes {
        font-weight: 600;
        margin-bottom: 8px;
    }
    .instagram-caption {
        margin-bottom: 4px;
        line-height: 1.4;
    }

    /* Twitter Styles */
    .twitter-post {
        border-bottom: 1px solid #e6ecf0;
        padding: 12px 16px;
    }
    .twitter-header {
        display: flex;
        margin-bottom: 10px;
    }
    .twitter-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        margin-right: 10px;
        background-color: #1da1f2;
    }
    .twitter-name {
        font-weight: 700;
        color: #14171a;
    }
    .twitter-username {
        color: #657786;
        margin-left: 5px;
    }
    .twitter-content {
        margin-left: 58px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    .twitter-actions {
        display: flex;
        margin-left: 58px;
        justify-content: space-between;
    }
    .twitter-action {
        color: #657786;
        font-size: 0.9rem;
    }

    /* LinkedIn Styles */
    .linkedin-post {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background-color: #fff;
    }
    .linkedin-header {
        display: flex;
        padding: 12px 16px;
    }
    .linkedin-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 8px;
        background-color: #0a66c2;
    }
    .linkedin-company {
        font-weight: 600;
        color: #000;
    }
    .linkedin-meta {
        color: #666;
        font-size: 0.8rem;
    }
    .linkedin-content {
        padding: 0 16px 16px;
        line-height: 1.4;
    }
    .linkedin-social {
        display: flex;
        border-top: 1px solid #e0e0e0;
        padding: 8px 16px;
    }
    .linkedin-action {
        margin-right: 24px;
        color: #666;
        font-weight: 600;
        font-size: 0.9rem;
    }

    /* TikTok Styles */
    .tiktok-post {
        border-radius: 8px;
        background-color: #000;
        position: relative;
        overflow: hidden;
    }
    .tiktok-video {
        width: 100%;
        height: 500px;
        object-fit: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .tiktok-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        color: #fff;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
    }
    .tiktok-username {
        font-weight: 700;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
    }
    .tiktok-caption {
        margin-bottom: 16px;
        font-size: 0.9rem;
    }
    .tiktok-actions {
        position: absolute;
        right: 16px;
        bottom: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .tiktok-action {
        color: #fff;
        text-align: center;
        margin-bottom: 16px;
    }
    .tiktok-action i {
        font-size: 1.8rem;
        margin-bottom: 2px;
    }
    
    /* Platform Toggle Improvements */
    .floating-sidebar {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 9999;
    }
    .sidebar-toggle {
        background-color: #3b82f6;
        color: white;
        width: 50px;
        height: 150px;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .sidebar-toggle i {
        font-size: 20px;
        transition: transform 0.3s ease;
    }
    .sidebar-toggle:hover {
        background-color: #2563eb;
    }
    .sidebar-toggle:hover i {
        transform: rotate(180deg);
    }
    .sidebar-toggle span {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-weight: bold;
        font-size: 12px;
        margin-bottom: 10px;
        text-align: center;
    }
    .sidebar-icons {
        background-color: #f8f9fa;
        padding: 10px 5px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 15px;
        transform: translateX(100%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    .floating-sidebar:hover .sidebar-icons {
        transform: translateX(0);
        opacity: 1;
    }
    .platform-button {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        padding: 0;
    }
    .platform-button.active {
        background-color: #007bff !important;
        color: #fff;
    }

/* Answer.blade.php */

/* Custom styling for star rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 100px; /* Add consistent gap between stars */
}

.star-rating-star {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
}

.star-rating-input:checked ~ .star-rating-star,
.star-rating-star:hover,
.star-rating-star:hover ~ .star-rating-star {
    color: #ffc107;
}

/* Add subtle animation when hovering */
.star-rating-star:hover {
    transform: scale(1.1);
}


/* Animation for success checkmark */
.checkmark-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(79, 207, 141, 0.1);
    animation: fill-checkmark 0.4s ease-in-out 0.4s forwards;
}

.checkmark-circle-bg {
    width: 120px;
    height: 120px;
    position: absolute;
    background-color: #4FCF8D;
    border-radius: 50%;
    transform: scale(0);
    animation: fill-checkmark 0.3s ease-in-out 0.2s forwards;
}

.checkmark {
    width: 60px;
    height: 30px;
    border-left: 5px solid white;
    border-bottom: 5px solid white;
    position: absolute;
    left: 28px;
    top: 40px;
    transform: rotate(-45deg) scale(0);
    animation: checkmark 0.3s ease-in-out 0.6s forwards;
}

@keyframes fill-checkmark {
    100% {
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        transform: rotate(-45deg) scale(0);
    }
    100% {
        transform: rotate(-45deg) scale(1);
    }
}

/* Custom radio buttons */
.form-check-input:checked {
    background-color: #7575DA;
    border-color: #7575DA;
}

/* Smooth transition for question cards */
.question-card {
    transition: all 0.3s ease;
}

.question-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Multiple chat */

.chat-container {
        display: flex;
        height: calc(100vh - 150px);
        background-color: #f5f7fb;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        position: relative;
    }
    
    .chat-list {
        width: 30%;
        background-color: #fff;
        border-right: 1px solid #e1e5eb;
        display: flex;
        flex-direction: column;
    }
    
    .chat-platform-selector {
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #e1e5eb;
        background-color: #fff;
    }
    
    .chat-platform-selector h4 {
        margin: 10 0;
        font-size: 20px;
        font-weight: 1000;
    }
    
    .search-box {
        position: relative;
        margin-right: 10px;
    }
    
    .search-box i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color:rgb(0, 0, 0);
    }
    
    .chat-conversations {
        flex: 1;
        overflow-y: auto;
    }
    
    .chat-item {
        padding: 15px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e1e5eb;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .chat-item:hover {
        background-color: #f8fafc;
    }
    
    .chat-item.active {
        background-color: #e6effe;
    }
    
    .chat-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 12px;
    }
    
    .chat-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .chat-info {
        flex: 1;
    }
    
    .chat-name {
        font-weight: 500;
        margin-bottom: 3px;
        font-size: 15px;
    }
    
    .chat-message {
        font-size: 13px;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .chat-time {
        font-size: 12px;
        color: #94a3b8;
    }
    
    .chat-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .chat-header {
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #e1e5eb;
        background-color: #fff;
    }
    
    .header-user {
        display: flex;
        align-items: center;
    }
    
    .header-user-info {
        margin-left: 12px;
    }
    
    .header-user-name {
        font-weight: 500;
        margin-bottom: 2px;
    }
    
    .header-user-status {
        font-size: 12px;
        color: #10b981;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
    }
    
    .header-action {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        margin-left: 8px;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .header-action:hover {
        background-color: #f1f5f9;
    }
    
    .chat-messages {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        background-color: #f1f5f9;
    }
    
    .message {
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        max-width: 75%;
    }
    
    .message.sent {
        margin-left: auto;
        align-items: flex-end;
    }
    
    .message.received {
        align-items: flex-start;
    }
    
    .message-content {
        padding: 10px 15px;
        border-radius: 18px;
        position: relative;
        word-break: break-word;
    }
    
    .message.sent .message-content {
        background-color: #3b82f6;
        color: #fff;
        border-bottom-right-radius: 4px;
    }
    
    .message.received .message-content {
        background-color: #fff;
        border-bottom-left-radius: 4px;
    }
    
    .message-time {
        font-size: 11px;
        margin-top: 5px;
        opacity: 0.7;
    }
    
    .message.sent .message-time {
        color: #64748b;
    }
    
    .message.received .message-time {
        color: #94a3b8;
    }
    
    .chat-input {
        padding: 15px;
        background-color: #fff;
        border-top: 1px solid #e1e5eb;
        display: flex;
        align-items: center;
    }
    
    .chat-input-box {
        flex: 1;
        position: relative;
    }
    
    .chat-input input {
        width: 98%;
        padding: 12px 15px;
        border: 1px solid #e1e5eb;
        border-radius: 24px;
        font-size: 14px;
    }
    
    .chat-input-actions {
        display: flex;
        align-items: center;
        margin: 0 15px;
    }
    
    .input-action {
        margin: 0 8px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .input-action:hover {
        background-color: #f1f5f9;
    }
    
    .send-button {
        padding: 10px;
        background-color: #3b82f6;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .send-button:hover {
        background-color: #2563eb;
    }
    
    /* Updated platform sidebar styles */
    .platform-sidebar {
        width: 40px;
        background-color: #f1f5f9;
        border-left: 1px solid #e1e5eb;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px 0 15px 0; /* Added padding-top to make room for the toggle button */
        transition: width 0.3s ease;
        overflow: hidden;
        position: relative; /* Added position relative */
    }
    
    .platform-sidebar.expanded {
        width: 60px;
        background-color: #fff;
    }
    
    /* Updated platform button styles */
    .platform-button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        cursor: pointer;
        transition: background-color 0.2s, opacity 0.3s;
        opacity: 0;
    }
    
    .platform-sidebar.expanded .platform-button {
        opacity: 1;
    }
    
    .platform-button:hover {
        background-color: #e2e8f0;
    }
    
    .platform-button.active {
        background-color: #3b82f6;
        color: #fff;
    }
    
    /* Updated toggle sidebar button styles */
    .toggle-sidebar {
        position: absolute;
        top: 25px; /* Position at the top */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center alignment */
        width: 24px;
        height: 24px;
        background-color: #fff;
        border-radius: 50%;
        border: 1px solid #e1e5eb;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }

/* Notification */

 .unread {
        background-color: rgba(13, 110, 253, 0.05);
        border-left: 3px solid #0d6efd;
    }
    
    .notification-item {
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    
    .notification-item:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }
    
    .important-notification {
        border-left: 3px solid #ffc107 !important;
    }
    
    .filter-option.active {
        background-color: #22205f;
        color: white;
    }
    
   /* Add these styles to your style section */
.toast-container {
    z-index: 1090; /* Higher than most Bootstrap elements */
    width: auto;
    max-width: 100%;
}

.toast {
    min-width: 300px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Animation for toast */
.toast.show {
    animation: slideInDown 0.3s, fadeIn 0.3s;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0) translateX(-50%);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0) translateX(-50%);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Admin */
/* Manage User*/
.admin-user-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-user-card {
    background-color: #fff;
    border-radius: 16px;
    position: relative;
}

.admin-user-header h2 {
    font-size: 1.6rem;
}

.search-wrapper {
    max-width: 500px;
}

.search-wrapper .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.search-wrapper .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.search-wrapper .form-control {
    border-left: none;
    box-shadow: none;
}

.search-wrapper .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.admin-user-table {
    border-radius: 12px;
    overflow: hidden;
}

.admin-user-table th,
.admin-user-table td {
    padding: 1rem;
    font-size: 0.95rem;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
}

.admin-user-thead th {
    background-color: #22205F;
    color: white;
    font-weight: 600;
}

.admin-user-table tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.2s ease-in-out;
}

   /* Custom Pagination Styles */
    .pagination {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .pagination>li>a,
    .pagination>li>span {
        color: #4a5568;
        /* Gray 700 */
        background-color: white;
        border: 1px solid #e2e8f0;
        /* Gray 200 */
        padding: 0.5rem 1rem;
        margin: 0 0.25rem;
        border-radius: 0.375rem;
        /* rounded-md */
        transition: all 0.3s ease;
    }

    .pagination>li>a:hover {
        background-color: #edf2f7;
        /* Gray 100 */
        border-color: #cbd5e0;
        /* Gray 300 */
    }

    .pagination>.active>a,
    .pagination>.active>span {
        background-color: #4299e1;
        /* Blue 500 */
        border-color: #4299e1;
        color: white;
    }

    .pagination>.disabled>span {
        color: #a0aec0;
        /* Gray 400 */
        background-color: #f7fafc;
        /* Gray 50 */
        border-color: #e2e8f0;
        /* Gray 200 */
    }

/*Manage Company*/
/* Company Scoped Styles */
.company-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.company-card {
    background-color: #fff;
    border-radius: 16px;
    position: relative;
}

.company-header h2 {
    font-size: 1.6rem;
}

.search-wrapper {
    max-width: 500px;
}

.search-wrapper .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.search-wrapper .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.search-wrapper .form-control {
    border-left: none;
    box-shadow: none;
}

.search-wrapper .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.company-table {
    border-radius: 12px;
    overflow: hidden;
}

.company-table th,
.company-table td {
    padding: 1rem;
    font-size: 0.95rem;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
}

.company-thead th {
    background-color: #22205F;
    color: white;
    font-weight: 600;
}

.company-table tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.2s ease-in-out;
}
    .company-card-item {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .company-card-item:hover {
        transform: translateY(-5px);
    }
    
    .card {
        border-radius: 0.5rem;
        overflow: hidden;
    }
    
    .card-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    }
    
    .card-footer {
        border-top: 1px solid rgba(0, 0, 0, 0.125);
    }
    
    .pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination > li > a,
.pagination > li > span {
    color: #4a5568; /* Gray 700 */
    background-color: white;
    border: 1px solid #e2e8f0; /* Gray 200 */
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem; /* rounded-md */
    transition: all 0.3s ease;
}

.pagination > li > a:hover {
    background-color: #edf2f7; /* Gray 100 */
    border-color: #cbd5e0; /* Gray 300 */
}

.pagination > .active > a,
.pagination > .active > span {
    background-color: #4299e1; /* Blue 500 */
    border-color: #4299e1;
    color: white;
}

.pagination > .disabled > span {
    color: #a0aec0; /* Gray 400 */
    background-color: #f7fafc; /* Gray 50 */
    border-color: #e2e8f0; /* Gray 200 */
}
/* Search input styles */
.input-group-text {
    transition: all 0.3s ease;
}

#searchInput {
    transition: all 0.3s ease;
}

#searchInput:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    border-color: #86b7fe;
}


/* No results message */
.no-companies-message {
    width: 100%;
    padding: 2rem 0;
}

/*Feedback Question Form*/
.admin-add-feedback-container {
    max-width: 800px;
    margin: auto;
    font-family: 'Segoe UI', sans-serif;
}

.admin-add-feedback-card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.admin-add-feedback-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 0.3rem;
}

.admin-add-feedback-input,
.admin-add-feedback-select {
    border: 1px solid #ced4da;
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: 0.4rem;
}

.admin-add-feedback-input:focus,
.admin-add-feedback-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.admin-add-feedback-submit,
.admin-add-feedback-cancel {
    font-size: 0.95rem;
    padding: 0.4rem 1.4rem;
    border-radius: 0.4rem;
}

.option-input {
    flex: 1;
}

.remove-option {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/*Edit Ticket*/
.admin-edit-ticket .card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.admin-edit-ticket .card-header {
    background-color: #22205f;
    color: white;
    padding: 1rem 1.5rem;
}

.admin-edit-ticket .card-header h4 {
    margin: 0;
    font-weight: 600;
}

.admin-edit-ticket .form-group label {
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}

.admin-edit-ticket .form-control {
    border-radius: 0.5rem;
    padding: 10px 12px;
    border: 1px solid #ccc;
}

.admin-edit-ticket .btn-primary {

    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
}

.admin-edit-ticket .btn-secondary {
    border-radius: 6px;
    padding: 10px 20px;
}

.admin-edit-ticket .bg-light {
    background-color: #f0f1f5;
    border-left: 4px solid #22205f;
    padding: 1rem;
    border-radius: 8px;
}

.admin-edit-ticket h5 {
    margin-top: 30px;
    font-weight: 600;
    color: #22205f;
}

.admin-edit-ticket .btn-primary:hover,
.admin-edit-ticket .btn-secondary:hover {
background-color: white;
color: black;
border-color: white;
}

/*Edit Manage User*/
.admin-edit-user-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.admin-edit-user-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.admin-edit-user-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #343a40;
    text-align: center;
}

.admin-edit-user-label {
    font-weight: 500;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-edit-user-label i {
    color: #007bff;
    margin-right: 6px;
}

.admin-edit-user-input,
.admin-edit-user-textarea,
.admin-edit-user-select {
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 5px;
}

.admin-edit-user-btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    color: white;
}

.admin-edit-user-btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
}

.btn:focus {
    box-shadow: none;
}

/* Custom styling for side-by-side fields */
.admin-edit-user-row {
    display: flex;
    gap: 20px;
}

.admin-edit-user-row .col-md-6 {
    flex: 1;
}

/* To align Password and Confirm Password side by side */
.admin-edit-user-password-row {
    display: flex;
    gap: 20px;
}

.admin-edit-user-password-row .col-md-6 {
    flex: 1;
}

/* To align Organization and Role side by side */
.admin-edit-user-org-role-row {
    display: flex;
    gap: 20px;
}

.admin-edit-user-org-role-row .col-md-6 {
    flex: 1;
}

/*Admin Edit Company*/
.admin-edit-company-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.admin-edit-company-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.admin-edit-company-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #343a40;
    text-align: center;
}

.admin-edit-company-label {
    font-weight: 500;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-edit-company-label i {
    color: #007bff;
    margin-right: 6px;
}

.admin-edit-company-input,
.admin-edit-company-textarea,
.admin-edit-company-select {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px; /* Adds space between the form fields */
}

.admin-edit-company-btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    color: white;
}

.admin-edit-company-btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
}

.admin-edit-company-btn-primary:focus,
.admin-edit-company-btn-secondary:focus {
    box-shadow: none;
}

.admin-edit-company-form-row {
    display: flex;
    gap: 30px; /* Increased gap between form fields */
}

.admin-edit-company-form-group {
    flex: 1;
}

.admin-edit-company-profile-picture-container {
    width: 200px;
    margin: 0 auto;
    position: relative;
}

.admin-edit-company-profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.admin-edit-company-profile-edit-btn {
    width: 45px;
    height: 45px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.admin-edit-company-btn:focus {
    box-shadow: none;
}

.form-switch .admin-form-check-input {
    width: 2.5em;
    height: 1.5em;
}


/*Admin Edit Profile*/
.admin-edit-profile-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
}

.admin-edit-profile-alert {
    margin-top: 20px;
}

.admin-edit-profile-form-label {
    font-size: 1rem;
    color: #495057;
}

.admin-edit-profile-form-control,
.admin-edit-profile-form-select {
    font-size: 1rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
}

.admin-edit-profile-form-control:focus,
.admin-edit-profile-form-select:focus {
    border-color: #66b3ff;
    box-shadow: 0 0 0 0.2rem rgba(102, 179, 255, 0.25);
}

.admin-edit-profile-invalid-feedback {
    font-size: 0.875rem;
    color: red;
}

.admin-edit-profile-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.05rem;
    border-radius: 0.5rem;
    transition: 0.3s all ease-in-out;
}

.admin-edit-profile-btn:hover {
    transform: scale(1.05);
}

.admin-edit-profile-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.admin-edit-profile-button-container {
    margin-top: 30px;
}


.admin-edit-profile-edit-btn:hover {
    background-color: #f0f0f0;
}

/*Admin Create Company*/
.admin-create-company-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.admin-create-company-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.admin-create-company-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #343a40;
    text-align: center;
}

.admin-create-company-label {
    font-weight: 500;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-create-company-label i {
    color: #007bff;
    margin-right: 6px;
}

.admin-create-company-input,
.admin-create-company-textarea {
    border-radius: 8px;
    padding: 10px 14px;
}

.admin-create-company-btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    color: white;
}

.admin-create-company-btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
}

.btn:focus {
    box-shadow: none;
}

.admin-image-upload-container {
    position: relative;
    display: inline-block;
}

.admin-image-upload-container .overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.admin-image-upload-container:hover .overlay {
    opacity: 1;
    transform: scale(1.1);
}

.cursor-pointer {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cursor-pointer:hover {
    transform: scale(1.02);
}

#image-preview {
    transition: all 0.3s ease;
}

/*Admin Create User*/
.admin-create-user-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.admin-create-user-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.admin-create-user-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #343a40;
    text-align: center;
}

.admin-create-user-label {
    font-weight: 500;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-create-user-label i {
    color: #007bff;
    margin-right: 6px;
}

.admin-create-user-input,
.admin-create-user-select {
    border-radius: 8px;
    padding: 10px 14px;
}

.admin-create-user-textarea {
    resize: none;
    border-radius: 8px;
    padding: 10px 14px;
}

.admin-create-user-btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    color: white;
}

.admin-create-user-btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
}

.btn:focus {
    box-shadow: none;
}

/*Admin Profile*/
.admin-profile-box {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 50px;
}

.text-primary-custom {
    color: #22205F !important;
}

.admin-profile-icon {
    color: #22205F !important;
}

.admin-profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.admin-profile-name {
    font-size: 2.5rem;
}

.admin-profile-role {
    font-size: 1.25rem;
}

/*Admin Feedback*/
.admin-feedback-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-feedback-card {
    background-color: #fff;
    border-radius: 16px;
}

.admin-feedback-header h2 {
    font-size: 1.6rem;
}

.admin-feedback-add-btn {
    font-weight: 500;
}

.admin-feedback-table-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.admin-feedback-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0;
    background-color: #fff;
    border-radius: 12px;
}

.admin-feedback-table th,
.admin-feedback-table td {
    padding: 1rem;
    vertical-align: middle;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
}

.admin-feedback-thead th {
    background-color: #22205F;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
}

.admin-feedback-table tbody tr:hover {
    background-color: #f5f7fc;
    transition: background-color 0.2s ease-in-out;
}

.admin-feedback-alert,
.admin-feedback-info {
    border-radius: 8px;
    font-weight: 500;
    transition: opacity 1s ease, visibility 1s ease;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block !important;
}

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/*Admin Supoort page*/
:root {
  --main-color: #22205f;
  --main-color-light: #33307a;
  --main-color-lighter: #eeedf5;
  --accent-color: #4f4c9d;
}

body.admin-support-page {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
}

.admin-support-page-header {
  background-color: var(--main-color);
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-support-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-support-btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.admin-support-btn-primary:hover {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.admin-support-question-card {
  background-color: white;
  border: none !important;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 1.5rem;
}

.admin-support-question-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.admin-support-question-header {
  background-color: var(--main-color-lighter);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
  border-left: 4px solid var(--main-color);
}

.admin-support-question-title {
  color: var(--main-color);
  font-weight: 600;
  margin-bottom: 0;
}

.admin-support-question-body {
  padding: 1.5rem;
}

.admin-support-answers-section {
  background-color: #f9f9f9;
  border-radius: 0.4rem;
  padding: 1rem;
}

.admin-support-section-title {
  color: var(--main-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.admin-support-section-title i {
  margin-right: 0.5rem;
}

.admin-support-answer-card {
  background-color: white;
  border-radius: 0.4rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--accent-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-support-answer-content {
  margin-bottom: 0;
  color: #333;
}

.admin-support-action-buttons .btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}

.admin-support-btn-add-answer {
  background-color: var(--main-color);
  color: white;
}

.admin-support-new-answer-form {
  background-color: white;
  padding: 1rem;
  border-radius: 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-support-modal-header {
  background-color: var(--main-color);
  color: white;
  border-radius: 0.3rem 0.3rem 0 0;
}

.admin-support-modal-title {
  font-weight: 600;
}

.admin-support-close {
  color: red;
  background-color: white;
  opacity: 0.8;
}

.admin-support-close:hover {
  opacity: 1;
}

.admin-support-btn-outline-primary {
  color: var(--main-color);
  border-color: var(--main-color);
}

.admin-support-btn-outline-primary:hover {
  background-color: var(--main-color);
  color: white;
}

.admin-support-empty-state {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
}

.admin-support-btn-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.2s, background-color 0.2s;
}

.admin-support-btn-floating:hover {
  transform: scale(1.05);
  background-color: var(--main-color);
}

.admin-support-btn-floating i {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .admin-support-action-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .admin-support-action-buttons .btn {
    margin-top: 0.5rem;
  }
}

/*Admin create support*/
    .admin-support-container {
        background-color: #f8f9fa;
    }
    
    .admin-support-card {
        border-radius: 10px;
        border: none;
    }
    
    .admin-support-card-header {
        border-radius: 10px 10px 0 0 !important;
    }
    
    .admin-support-input {
        border-radius: 8px;
        padding: 12px 15px;
        transition: all 0.3s;
    }
    
    .admin-support-input:focus {
        border-color: #22205f;
        box-shadow: 0 0 0 0.25rem rgba(34, 32, 95, 0.25);
    }
    
    .admin-support-submit {
        transition: all 0.3s;
    }
    
    .admin-support-submit:hover {
        background-color: #1a1750 !important;
        border-color: #1a1750 !important;
        transform: translateY(-1px);
    }
    
    .admin-support-cancel:hover {
        transform: translateY(-1px);
    }
    
    .admin-support-invalid-feedback {
        font-size: 0.9rem;
    }
    
    /* More specific selectors for nested elements */
    .admin-support-form .admin-support-form-group {
        margin-bottom: 1.5rem;
    }
    
    .admin-support-form .admin-support-label {
        display: block;
        margin-bottom: 0.5rem;
    }

    /*Admin Edit support*/
        .admin-edit-support-container {
        background-color: #f8f9fa;
    }
    
    .admin-edit-support-card {
        border-radius: 10px;
        border: none;
    }
    
    .admin-edit-support-card-header {
        border-radius: 10px 10px 0 0 !important;
    }
    
    .admin-edit-support-input {
        border-radius: 8px;
        padding: 12px 15px;
        transition: all 0.3s;
    }
    
    .admin-edit-support-input:focus {
        border-color: #22205f;
        box-shadow: 0 0 0 0.25rem rgba(34, 32, 95, 0.25);
    }
    
    .admin-edit-support-submit {
        transition: all 0.3s;
    }
    
    .admin-edit-support-submit:hover {
        background-color: #1a1750 !important;
        border-color: #1a1750 !important;
        transform: translateY(-1px);
    }
    
    .admin-edit-support-cancel:hover {
        transform: translateY(-1px);
    }
    
    .admin-edit-support-invalid-feedback {
        font-size: 0.9rem;
    }
    
    /* More specific selectors for nested elements */
    .admin-edit-support-form .admin-edit-support-form-group {
        margin-bottom: 1.5rem;
    }
    
    .admin-edit-support-form .admin-edit-support-label {
        display: block;
        margin-bottom: 0.5rem;
    }

    /*Admin conversation with user*/
        .admin-conversation .card {
        border-radius: 12px;
    }

    .admin-conversation .card-header {
        border-radius: 12px 12px 0 0 !important;
        background-color: #22205f;
        padding: 20px;
    }

    .admin-conversation .form-control:focus,
    .admin-conversation .form-select:focus {
        border-color: #22205f;
        box-shadow: 0 0 0 0.25rem rgba(34, 32, 95, 0.25);
    }

    .admin-conversation .btn:hover {
        background-color: #1a1850 !important;
    }

    .admin-conversation .list-group-item {
        transition: background 0.2s ease-in-out;
    }

    .admin-conversation .list-group-item:hover {
        background-color: rgba(34, 32, 95, 0.05);
    }

    .admin-conversation .list-group-item.active {
        background-color: #22205f !important;
        color: #fff;
    }

    /* Optional spacing adjustments */
    .admin-conversation .chat-stat-box h3 {
        margin-top: 10px;
    }

    