
.three-dots-ags-control-button {
    position: absolute;
    top: 0.5rem;
    right: 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
    transition: all 0.2s ease;
}

.three-dots-ags-control-button:hover {
    transform: scale(1.1);
}

.three-dots-ags-control-button i {
    font-size: 20px; /* Ajustează dimensiunea iconiței */
}

.three-dots-ags-button {
    top: 0;
    right: 15px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.three-dots-ags-button:hover {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
}

.three-dots-ags-button i {
    font-size: 20px;
}

.three-dots-ags-button:hover i {
    color: inherit !important;
}
.three-dots-ags-control-button-left {
    position: absolute;
    top: 0;
    left: 15px; /* Am schimbat 'right' în 'left' pentru a fi în stânga */
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Hover effect pentru interactivitate */
.three-dots-ags-control-button-left:hover {
    opacity: 0.8;
}

/* Focus outline pentru accesibilitate */
.three-dots-ags-control-button-left:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}


.textarea-container {
    position: relative;
}

.textarea-container textarea {
    width: 100%;
    height: 150px; /* Ajustează în funcție de necesități */
    padding-right: 30px; /* Lasă loc pentru buton */
}

.edit-pencil-big {
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.edit-pencil-big:hover {
    opacity: 1;
    transform: scale(1.1);
}


.edit-pencil {
    font-size: 0.7em;
    color: hsla(247, 100%, 50%, 0.58);  
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.edit-pencil:hover {
    opacity: 1;
    transform: scale(1.1);
}

.disabled-icon {
    cursor: not-allowed;
}

.premium-tooltip .tooltip-inner {
    background-color: #2c3e50 !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    border: 1px solid #34495e !important;
}

.premium-tooltip .tooltip-arrow::before {
    border-top-color: #2c3e50 !important;
}

.tooltip-wrapper {
    display: inline-block;  /* sau inline-flex */
    vertical-align: middle;
}


.form-label .edit-pencil-big {
    pointer-events: auto;
    cursor: pointer;
}

/*culoare ce inconjoara deafult*/
.iwinlist-input-wrapper {
    position: relative;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: visible;
}

/*culoare on hover*/
.iwinlist-input-wrapper:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.iwinlist-input,
.iwinlist-textarea {
    background-color: transparent !important;
    border: none !important;
    padding: 1.05rem 1rem;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
}

.iwinlist-input:focus,
.iwinlist-textarea:focus {
    box-shadow: none !important;
}

.iwinlist-label {
    padding: 0.5rem 1rem;
    color: #555;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: .8;
    transform: scale(.85) translateY(-0.75rem) translateX(0.15rem);
    color: #4a90e2;
}

.iwinlist-input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a90e2, #63b3ed);
    transition: width 0.3s ease, left 0.3s ease;
}

.iwinlist-input:focus ~ .iwinlist-input-focus-effect,
.iwinlist-textarea:focus ~ .iwinlist-input-focus-effect {
    width: 100%;
    left: 0;
}

.iwinlist-input:disabled,
.iwinlist-textarea:disabled {
    opacity: 0.6;
    /*cursor: not-allowed;*/
}
/* ============================== */
/* AGS Links & Modals Styling     */
/* ============================== */

/* Modal Styling */
.ags-links-modal-content {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ags-links-modal-header {
    border-radius: 0;
    padding: 1.25rem 1.5rem;
}

.ags-links-modal-body {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

.ags-links-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

/* Form Controls */
.ags-links-form-control:focus {
    border-color: var(--iw-blue-purple-medium);
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.15);
}

.ags-links-form-control:hover:not(:focus) {
    border-color: #adb5bd;
}

/* Switch */
.ags-links-switch:checked {
    background-color: var(--iw-blue-purple-medium);
    border-color: var(--iw-blue-purple-medium);
}

.ags-links-switch:focus {
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.25);
}

/* Buttons */
.ags-links-btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 1.5px;
}

.ags-links-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ags-links-btn:active {
    transform: translateY(0);
}

.ags-links-btn-purple:hover,
.ags-links-btn-purple:focus {
    background-color: var(--iw-blue-purple-black) !important;
    border-color: var(--iw-blue-purple-black) !important;
    color: #ffffff !important;
}

/* List Styling */
.ags-links-list {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ags-links-list-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.ags-links-list-item:hover {
    background-color: #f8f9fa;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ags-links-list-item:last-child {
    border-bottom: none;
}

/* Favicon */
.ags-links-favicon {
    width: 24px;
    height: 24px;
    border-radius: 0.375rem;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Link */
.ags-links-link {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
}

.ags-links-link:hover {
    color: var(--iw-blue-purple-medium);
    text-decoration: none;
}

/* Checkbox */
.ags-links-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.ags-links-checkbox:checked {
    background-color: var(--iw-blue-purple-medium);
    border-color: var(--iw-blue-purple-medium);
}

.ags-links-checkbox:focus {
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.25);
}

/* Alert */
.ags-links-alert {
    border-radius: 0.5rem;
    border: none;
}

/* Animation */
@keyframes agsLinksModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scrollbar Styling */
.ags-links-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.ags-links-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ags-links-scrollbar::-webkit-scrollbar-thumb {
    background: var(--iw-blue-purple-medium);
    border-radius: 10px;
}

.ags-links-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--iw-blue-purple-black);
}

/* Responsive */
@media (max-width: 768px) {
    .ags-links-list-item {
        padding: 0.875rem 1rem;
    }
    
    .ags-links-favicon {
        width: 20px;
        height: 20px;
    }
}

/* ============================== */
/* AGS Links & Modals Styling     */
/* ============================== */

/* Modal Styling */
.ags-links-modal-content {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ags-links-modal-header {
    border-radius: 0;
    padding: 1.25rem 1.5rem;
}

.ags-links-modal-body {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

.ags-links-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

/* Form Controls */
.ags-links-form-control:focus {
    border-color: var(--iw-blue-purple-medium);
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.15);
}

.ags-links-form-control:hover:not(:focus) {
    border-color: #adb5bd;
}

/* Switch */
.ags-links-switch:checked {
    background-color: var(--iw-blue-purple-medium);
    border-color: var(--iw-blue-purple-medium);
}

.ags-links-switch:focus {
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.25);
}

/* Buttons */
.ags-links-btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 1.5px;
}

.ags-links-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ags-links-btn:active {
    transform: translateY(0);
}

.ags-links-btn-purple:hover,
.ags-links-btn-purple:focus {
    background-color: var(--iw-blue-purple-black) !important;
    border-color: var(--iw-blue-purple-black) !important;
    color: #ffffff !important;
}

/* List Styling */
.ags-links-list {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ags-links-list-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.ags-links-list-item:hover {
    background-color: #f8f9fa;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ags-links-list-item:last-child {
    border-bottom: none;
}

/* Favicon */
.ags-links-favicon {
    width: 24px;
    height: 24px;
    border-radius: 0.375rem;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Link */
.ags-links-link {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
}

.ags-links-link:hover {
    color: var(--iw-blue-purple-medium);
    text-decoration: none;
}

/* Checkbox */
.ags-links-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.ags-links-checkbox:checked {
    background-color: var(--iw-blue-purple-medium);
    border-color: var(--iw-blue-purple-medium);
}

.ags-links-checkbox:focus {
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.25);
}

/* Alert */
.ags-links-alert {
    border-radius: 0.5rem;
    border: none;
}

/* Scrollbar */
.ags-links-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.ags-links-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ags-links-scrollbar::-webkit-scrollbar-thumb {
    background: var(--iw-blue-purple-medium);
    border-radius: 10px;
}

.ags-links-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--iw-blue-purple-black);
}

/* Responsive */
@media (max-width: 768px) {
    .ags-links-list-item {
        padding: 0.875rem 1rem;
    }
    
    .ags-links-favicon {
        width: 20px;
        height: 20px;
    }
}

/* Choose Links Modal Specific */
.choose-links-modal .ags-links-modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

@media (max-width: 1200px) {
    .modal-xl {
        max-width: 95%;
    }
}

/* ============================== */
/* AGS Action Modal Styling       */
/* ============================== */

/* Modal Content */
.ags-action-modal-content {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: none;
}

/* Modal Header */
.ags-action-modal-header {
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    border-bottom: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Modal Body */
.ags-action-modal-body {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    padding: 1.5rem;
}

/* Modal Footer */
.ags-action-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    gap: 0.5rem;
}

/* Buttons */
.ags-action-btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 1.5px;
}

.ags-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ags-action-btn:active {
    transform: translateY(0);
}

.ags-action-btn-purple:hover,
.ags-action-btn-purple:focus {
    background-color: var(--iw-blue-purple-black) !important;
    border-color: var(--iw-blue-purple-black) !important;
    color: #ffffff !important;
}


/* ============================== */
/* AGS Task Modal Styling         */
/* ============================== */

/* Modal Content */
.ags-task-modal-content {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: none;
}

/* Modal Header */
.ags-task-modal-header {
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    border-bottom: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Modal Body */
.ags-task-modal-body {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    padding: 1.5rem;
}

/* Modal Footer */
.ags-task-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    gap: 0.5rem;
}

/* Buttons */
.ags-task-btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 1.5px;
}

.ags-task-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ags-task-btn:active {
    transform: translateY(0);
}

.ags-task-btn-purple:hover,
.ags-task-btn-purple:focus {
    background-color: var(--iw-blue-purple-black) !important;
    border-color: var(--iw-blue-purple-black) !important;
    color: #ffffff !important;
}


/* ============================== */
/* AGS Project Modal Styling      */
/* ============================== */

/* Modal Content */
.ags-project-modal-content {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: none;
}

/* Modal Header */
.ags-project-modal-header {
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    border-bottom: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Modal Body */
.ags-project-modal-body {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    padding: 1.5rem;
}

/* Modal Footer */
.ags-project-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    gap: 0.5rem;
}

/* Buttons */
.ags-project-btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 1.5px;
}

.ags-project-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ags-project-btn:active {
    transform: translateY(0);
}

.ags-project-btn-purple:hover,
.ags-project-btn-purple:focus {
    background-color: var(--iw-blue-purple-black) !important;
    border-color: var(--iw-blue-purple-black) !important;
    color: #ffffff !important;
}

/* ============================== */
/* AGS Button Styling             */
/* ============================== */

/* Base button style */
.agsbutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 2.5rem;
    min-height: 2.25rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.625rem;
    border: none;
    background: #e9ecef;
    color: #3a3a4a;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
}

.agsbutton:hover {
    background: #dee2e6;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.13);
    transform: translateY(-1px);
    color: #1a1a2e;
}

.agsbutton:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.22);
}

.agsbutton:active {
    transform: translateY(0);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.agsbutton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Icon inside button */
.agsbutton i,
.agsbutton .agsbutton-icon {
    font-size: 1em;
}

/* Label inside button */
.agsbutton-label {
    font-weight: 600;
}

/* Size variants */
.agsbutton-sm {
    min-width: 2rem;
    min-height: 1.875rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    gap: 0.35rem;
}

.agsbutton-lg {
    min-width: 3rem;
    min-height: 2.75rem;
    padding: 0.625rem 1.375rem;
    font-size: 1rem;
}

/* Pill shape */
.agsbutton-pill {
    border-radius: 50rem;
}

/* Icon only button - square shape */
.agsbutton-icon-only {
    min-width: 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
}

.agsbutton-icon-only.agsbutton-sm {
    min-width: 1.875rem;
    width: 1.875rem;
    height: 1.875rem;
}

.agsbutton-icon-only.agsbutton-lg {
    min-width: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
}

/* ---- Color variants ---- */

/* Primary - purple solid */
.agsbutton-primary {
    background-color: var(--iw-blue-purple-medium);
    color: #ffffff;
    border: none;
}

.agsbutton-primary i {
    color: #ffffff;
}

.agsbutton-primary:hover {
    background-color: var(--iw-blue-purple-black);
    color: #ffffff;
    box-shadow: 0 5px 16px rgba(115, 103, 240, 0.38);
}

/* Success - green solid */
.agsbutton-success {
    background-color: #28a745;
    color: #ffffff;
    border: none;
}

.agsbutton-success i {
    color: #ffffff;
}

.agsbutton-success:hover {
    background-color: #1e7e34;
    color: #ffffff;
    box-shadow: 0 5px 16px rgba(40, 167, 69, 0.35);
}

/* Danger - red solid */
.agsbutton-danger {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
}

.agsbutton-danger i {
    color: #ffffff;
}

.agsbutton-danger:hover {
    background-color: #bd2130;
    color: #ffffff;
    box-shadow: 0 5px 16px rgba(220, 53, 69, 0.35);
}

/* Warning - orange solid */
.agsbutton-warning {
    background-color: #fd7e14;
    color: #ffffff;
    border: none;
}

.agsbutton-warning i {
    color: #ffffff;
}

.agsbutton-warning:hover {
    background-color: #e06600;
    color: #ffffff;
    box-shadow: 0 5px 16px rgba(253, 126, 20, 0.35);
}

.agsbutton-warning:hover {
    background: linear-gradient(to bottom, #fff3db, #ffe9c2);
    border-color: #ffc14d;
    color: #222;
}

/* Info - cyan */
.agsbutton-info {
    border-color: #8dd4e0;
    background: linear-gradient(to bottom, #f0fbfc, #e0f5f8);
}

.agsbutton-info i {
    color: #117a8b;
}

.agsbutton-info:hover {
    background: linear-gradient(to bottom, #e0f5f8, #c8edf3);
    border-color: #5cc5d5;
    color: #222;
}

/* Secondary - neutral gray */
.agsbutton-secondary {
    border-color: #d0d0d0;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
}

.agsbutton-secondary i {
    color: #555;
}

.agsbutton-secondary:hover {
    background: linear-gradient(to bottom, #f8f8f8, #eeeeee);
    border-color: #b8b8b8;
    color: #222;
}

/* Ghost - minimal */
.agsbutton-ghost {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.agsbutton-ghost:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: transparent;
    box-shadow: none;
}

.agsbutton-ghost:active {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

/* Spin animation for loading state */
.agsbutton-spin {
    animation: agsbutton-spin-animation 1s linear infinite;
}

@keyframes agsbutton-spin-animation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* ============================== */
/* AGS Time Tracker               */
/* ============================== */

.ags-time-tracker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(to bottom, #f8f9fa, #f1f3f5);
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.ags-time-tracker-active {
    background: linear-gradient(to bottom, #f0fbf1, #e2f5e3);
    border-color: #a3d9a5;
}

.ags-time-tracker .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    cursor: pointer;
}

.ags-time-tracker .form-check-input:checked {
    background-color: #1e7e34;
    border-color: #1e7e34;
}

.ags-time-tracker-label {
    cursor: pointer;
    flex: 1;
}

.ags-time-tracker-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ags-time-tracker-title {
    font-weight: 600;
    color: var(--iw-blue-purple-black);
}

.ags-time-tracker-estimate {
    font-weight: 400;
    color: #6c757d;
}

.ags-time-tracker-hint {
    color: #888;
    font-size: 0.8rem;
}

.ags-time-tracker-start {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #117a8b;
}

.ags-time-tracker-start i {
    font-size: 1.1rem;
}

/* ============================== */
/* AGS Settings Modal Styling     */
/* ============================== */

/* Modal Content */
.ags-settings-modal-content {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: none;
}

/* Modal Header */
.ags-settings-modal-header {
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    border-bottom: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Modal Body */
.ags-settings-modal-body {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    padding: 1.5rem;
}

/* Info Box */
.ags-info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ags-info-box i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* Storage Container */
.ags-storage-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e0e0e0;
    margin-top: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ags-storage-container h6 {
    font-weight: 600;
    font-size: 1rem;
}

/* Progress Circle */
.progress-circle {
    width: 120px;
    height: 120px;
}

/* Progress Info */
.progress-info {
    max-width: 300px;
}

.progress-info .alert-warning {
    background-color: #FFF3CD;
    border-color: #FFEEBA;
    color: #856404;
}

/* Progress Bar Styling */
.ags-settings-modal-body .progress {
    background-color: #E0E0E0;
    height: 8px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.ags-settings-modal-body .progress-bar {
    transition: width 0.6s ease, background-color 0.6s ease;
}

/* ============================== */
/* AGS Status Bar                 */
/* ============================== */

.ags-status-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

/* Status Badge */
.ags-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50rem;
    border: 1px solid transparent;
}

.ags-status-badge i {
    font-size: 0.9em;
}

.ags-status-badge-success {
    background: linear-gradient(to bottom, #e8f5e9, #c8e6c9);
    border-color: #a5d6a7;
    color: #2e7d32;
}

.ags-status-badge-warning {
    background: linear-gradient(to bottom, #fff8e1, #ffecb3);
    border-color: #ffe082;
    color: #f57f17;
}

.ags-status-badge-danger {
    background: linear-gradient(to bottom, #ffebee, #ffcdd2);
    border-color: #ef9a9a;
    color: #c62828;
}

.ags-status-badge-info {
    background: linear-gradient(to bottom, #e3f2fd, #bbdefb);
    border-color: #90caf9;
    color: #1565c0;
}

.ags-status-badge-primary {
    background: linear-gradient(to bottom, #f3e5f5, #e1bee7);
    border-color: #ce93d8;
    color: #7b1fa2;
}

.ags-status-badge-secondary {
    background: linear-gradient(to bottom, #f5f5f5, #eeeeee);
    border-color: #bdbdbd;
    color: #616161;
}

.ags-status-badge-light {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-color: #dee2e6;
    color: #495057;
}

/* Time display */
.ags-status-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.ags-status-time i {
    color: #888;
}

.ags-status-date {
    color: #999;
    font-size: 0.85rem;
}

.ags-status-date::before {
    content: "·";
    margin-right: 0.5rem;
    color: #ccc;
}

/* Priority */
.ags-status-priority {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.35rem;
    border: 1px solid;
}

.ags-priority-high,
.ags-priority-critical {
    background: linear-gradient(to bottom, #fff5f5, #ffe8e8);
    border-color: #f0a8ae;
    color: #c82333;
}

.ags-priority-medium {
    background: linear-gradient(to bottom, #fffbf0, #fff3db);
    border-color: #ffd280;
    color: #cc6f00;
}

.ags-priority-low {
    background: linear-gradient(to bottom, #f0fbf1, #e2f5e3);
    border-color: #a3d9a5;
    color: #1e7e34;
}

.ags-priority-none {
    background: linear-gradient(to bottom, #f8f9fa, #f1f3f5);
    border-color: #dee2e6;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .ags-status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .ags-status-priority {
        margin-left: 0;
    }

    .ags-status-date {
        display: none;
    }
}
