/* /resources/css/task-notification.css */

.notification-settings-box {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.notification-settings-box h3 {
    color: #2c3e50;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
}

#status-panel {
    margin-bottom: 20px;
    line-height: 1.6;
}

#perm-status {
    color: #2980b9; 
}
#sub-status {
    color: #f39c12; 
}

.action-buttons button {
    margin-right: 10px;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary {
    background-color: #2ecc71; 
    color: white;
}
.btn-primary:disabled {
    background-color: #a9d4b8;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #e74c3c; 
    color: white;
}
.btn-secondary:disabled {
    background-color: #eaa6a0;
    cursor: not-allowed;
}

.btn-tertiary {
    background-color: #bdc3c7;
    color: #2c3e50;
}
.btn-tertiary:disabled {
    background-color: #dce0e3;
    cursor: not-allowed;
}

.info-message {
    padding: 15px;
    border-radius: 4px;
    background-color: #f0f4f7;
    border: 1px solid #bdc3c7;
    color: #34495e;
}

/* =======================================================
   STYLY PRO NOTIFIKAČNÍ SYSTÉM (PŘESUNUTO Z JS)
   ======================================================= */

/* Animace pro Toasty */
@keyframes slideInDown { 
    from { opacity: 0; transform: translateY(-50px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes slideOutRight { 
    from { opacity: 1; transform: translateX(0); } 
    to { opacity: 0; transform: translateX(100%); } 
}

/* Vyskakovací okno (Toast) vpravo nahoře */
.notif-toast { 
    background: white; 
    padding: 15px; 
    border-radius: 4px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    cursor: pointer; 
    animation: slideInDown 0.4s ease-out forwards; 
    transition: all 0.3s ease; 
    border-left: 6px solid #ccc; 
}
.exit-active { 
    animation: slideOutRight 0.4s ease-in forwards !important; 
}

/* Barvy okrajů podle stavu notifikace */
.border-red { border-left-color: #e74c3c !important; }
.border-orange { border-left-color: #f39c12 !important; }
.border-green { border-left-color: #2ecc71 !important; }

/* Tlačítko zavření uvnitř toastu */
.notif-close-btn { 
    width: 20px; 
    height: 20px; 
    line-height: 18px; 
    text-align: center; 
    border-radius: 50%; 
    color: #999; 
    font-size: 18px; 
    transition: 0.2s; 
}
.notif-close-btn:hover { 
    background: #e74c3c; 
    color: white; 
}

/* Položka v dropdown historii */
.notif-item:hover { 
    background-color: #f8f9fa; 
}
