/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 04/02/2020, 03:50:46 PM
    Author     : DS
*/

/*Looding para contenedores*/
.loader {background-color: rgb(248, 248, 251); position: absolute; z-index: 9999; top: 0; bottom: 0; left: 0; right: 0;padding-top: 1%;}

/*Para cargar la foto y nombre de perfil del cliente en el menú arriba a la izquierda*/
.vertical-collpsed header#page-topbar .navbar-profile-detail .logo span {display: none !important;}
header#page-topbar .navbar-profile-detail {display: flex;justify-content: center;align-items: center;}
header#page-topbar .navbar-profile-detail .logo span {color: #a6b0cf;}

/*input con icono*/
.input-icon {position: relative;}
.input-icon input {padding-left: 40px;}
.input-icon.input-icon-right input {padding-right: 40px;padding-left: .75rem;}
.input-icon > span {position: absolute;z-index: 10;font-size: 16px;line-height: 38px;left: 13px;top: 0;opacity: 0.6;}
.input-icon.input-icon-right a {position: absolute;z-index: 10;font-size: 16px;line-height: 38px;right: 0;top: 0;opacity: 0.6;left: inherit;}
.input-icon.input-icon-right > span {position: absolute;z-index: 10;font-size: 16px;line-height: 38px;right: 13px;top: 0;opacity: 0.6;left: inherit;}

.alert .alert {margin: 0 !important;padding: 0 !important;border: none !important;}
.datepicker {z-index: 1060 !important;}

.cursor-alias {cursor: alias;}
.cursor-all-scroll {cursor: all-scroll;}
.cursor-auto {cursor: auto;}
.cursor-cell {cursor: cell;}
.cursor-context-menu {cursor: context-menu;}
.cursor-col-resize {cursor: col-resize;}
.cursor-copy {cursor: copy;}
.cursor-crosshair {cursor: crosshair;}
.cursor-default {cursor: default;}
.cursor-e-resize {cursor: e-resize;}
.cursor-ew-resize {cursor: ew-resize;}
.cursor-grab {cursor: -webkit-grab; cursor: grab;}
.cursor-grabbing {cursor: -webkit-grabbing; cursor: grabbing;}
.cursor-help {cursor: help;}
.cursor-move {cursor: move;}
.cursor-n-resize {cursor: n-resize;}
.cursor-ne-resize {cursor: ne-resize;}
.cursor-nesw-resize {cursor: nesw-resize;}
.cursor-ns-resize {cursor: ns-resize;}
.cursor-nw-resize {cursor: nw-resize;}
.cursor-nwse-resize {cursor: nwse-resize;}
.cursor-no-drop {cursor: no-drop;}
.cursor-none {cursor: none;}
.cursor-not-allowed {cursor: not-allowed;}
.cursor-pointer {cursor: pointer;}
.cursor-progress {cursor: progress;}
.cursor-row-resize {cursor: row-resize;}
.cursor-s-resize {cursor: s-resize;}
.cursor-se-resize {cursor: se-resize;}
.cursor-sw-resize {cursor: sw-resize;}
.cursor-text {cursor: text;}
.cursor-w-resize {cursor: w-resize;}
.cursor-wait {cursor: wait;}
.cursor-zoom-in {cursor: zoom-in;}
.cursor-zoom-out {cursor: zoom-out;}

/* ==========================================================================
   FEEDBACK VIEW VISUAL REFRESH & UX MODERNIZATION (Strict border-radius: 8px max)
   ========================================================================== */

/* Timeline Line & General Layout */
.feedback-form .verti-timeline {
    border-left: 2px dashed rgba(255, 255, 255, 0.15) !important;
    padding-left: 30px;
    margin-left: 10px !important;
}

body.light-mode .feedback-form .verti-timeline {
    border-left: 2px dashed rgba(15, 23, 42, 0.12) !important;
}

/* Timeline Dot & Icon Alignments */
.feedback-form .event-list {
    position: relative;
    padding-left: 15px;
}

.feedback-form .event-timeline-dot {
    left: -41px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.feedback-form .event-timeline-dot i {
    background-color: #222736 !important; /* Matches app background */
    color: var(--company-primary, #34c38f) !important;
    font-size: 26px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transition: all 0.25s ease;
    box-shadow: 0 0 12px rgba(52, 195, 143, 0.2);
}

.feedback-form .event-list:hover .event-timeline-dot i {
    transform: scale(1.15);
    box-shadow: 0 0 18px var(--company-primary, #34c38f);
}

body.light-mode .feedback-form .event-timeline-dot i {
    background-color: #ffffff !important;
}

/* Sleek Glassmorphism Cards */
.feedback-form .event-list .card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important; /* Strict max 8px */
    background: linear-gradient(180deg, rgba(42, 48, 64, 0.45) 0%, rgba(30, 36, 50, 0.6) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.feedback-form .event-list .card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

body.light-mode .feedback-form .event-list .card {
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .feedback-form .event-list .card:hover {
    border-color: rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* Card Media Header Elements */
.feedback-form h6 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

body.light-mode .feedback-form h6 {
    color: #1e293b;
}

.feedback-form .media i.text-primary {
    color: var(--company-primary, #3b82f6) !important;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.15));
}

/* Inputs & Textareas */
.feedback-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important; /* Strict max 8px */
    background-color: rgba(15, 23, 42, 0.25) !important;
    color: #def0ff !important;
    font-size: 14px;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.feedback-form .form-control:focus {
    border-color: var(--company-primary, #3b82f6) !important;
    background-color: rgba(15, 23, 42, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.feedback-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

body.light-mode .feedback-form .form-control {
    border: 1px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

body.light-mode .feedback-form .form-control:focus {
    border-color: var(--company-primary, #3b82f6) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

body.light-mode .feedback-form .form-control::placeholder {
    color: #94a3b8 !important;
}

/* Custom Switches (acting as radio selections) */
.feedback-form .custom-switch {
    padding-left: 2.8rem;
    min-height: 26px;
    display: flex;
    align-items: center;
    margin-bottom: 8px !important;
}

.feedback-form .custom-switch .custom-control-label {
    position: relative;
    padding-left: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    user-select: none;
    transition: all 0.2s ease;
}

.feedback-form .custom-switch .custom-control-label::before {
    left: -2.8rem;
    width: 2.2rem;
    height: 1.2rem;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important; /* Strict max 8px */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-form .custom-switch .custom-control-label::after {
    left: calc(-2.8rem + 2px);
    width: calc(1.2rem - 4px);
    height: calc(1.2rem - 4px);
    background-color: #94a3b8 !important;
    border-radius: 6px !important; /* Strict max 8px */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checked Switch State */
.feedback-form .custom-control-input:checked ~ .custom-control-label {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.feedback-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--company-primary, #3b82f6) !important;
    border-color: var(--company-primary, #3b82f6) !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.feedback-form .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #ffffff !important;
    transform: translateX(1rem);
}

/* Hover States for Switches */
.feedback-form .custom-switch:hover .custom-control-label {
    color: #ffffff !important;
}

.feedback-form .custom-switch:hover .custom-control-label::before {
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* Light Mode Swtich Overrides */
body.light-mode .feedback-form .custom-switch .custom-control-label {
    color: #475569;
}

body.light-mode .feedback-form .custom-switch .custom-control-label::before {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-mode .feedback-form .custom-switch .custom-control-label::after {
    background-color: #64748b !important;
}

body.light-mode .feedback-form .custom-control-input:checked ~ .custom-control-label {
    color: #0f172a !important;
}

body.light-mode .feedback-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--company-primary, #3b82f6) !important;
    border-color: var(--company-primary, #3b82f6) !important;
}

body.light-mode .feedback-form .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #ffffff !important;
}

body.light-mode .feedback-form .custom-switch:hover .custom-control-label {
    color: #0f172a !important;
}

body.light-mode .feedback-form .custom-switch:hover .custom-control-label::before {
    border-color: #94a3b8 !important;
}

/* Custom Premium Buttons (Override inline style border-radii & colors) */
.feedback-form button[type="reset"],
.feedback-form button[type="submit"] {
    border-radius: 8px !important; /* Strict max of 8px! */
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    padding: 10px 24px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Reset Button Override (Limpiar) */
.feedback-form button[type="reset"] {
    background-color: rgba(0, 173, 215, 0.15) !important;
    color: #00add7 !important;
    border: 1px solid rgba(0, 173, 215, 0.3) !important;
}

.feedback-form button[type="reset"]:hover {
    background-color: #00add7 !important;
    color: #ffffff !important;
    border-color: #00add7 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 173, 215, 0.3) !important;
}

.feedback-form button[type="reset"]:active {
    transform: translateY(0px);
}

/* Submit Button Override (Enviar) */
.feedback-form button[type="submit"] {
    background-color: rgba(52, 195, 143, 0.15) !important;
    color: #34c38f !important;
    border: 1px solid rgba(52, 195, 143, 0.3) !important;
}

.feedback-form button[type="submit"]:hover {
    background-color: #34c38f !important;
    color: #ffffff !important;
    border-color: #34c38f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 195, 143, 0.3) !important;
}

.feedback-form button[type="submit"]:active {
    transform: translateY(0px);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 576px) {
    .feedback-form .verti-timeline {
        border-left: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .feedback-form .event-list {
        padding-left: 0 !important;
        margin-bottom: 16px !important;
    }
    
    .feedback-form .event-timeline-dot {
        display: none !important; /* Hide dot on mobile to maximize viewport space */
    }
    
    .feedback-form .card-body {
        padding: 16px !important;
    }
    
    .feedback-form .media {
        display: flex;
        flex-direction: column;
    }
    
    .feedback-form .media .mr-3 {
        margin-right: 0 !important;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
    }
    
    .feedback-form .media i.h2 {
        font-size: 24px !important;
    }
    
    .feedback-form .button-items {
        text-align: center !important;
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .feedback-form .button-items button {
        margin: 0 !important;
        width: 100%;
    }
}