/* Modal overlay */
.k-alert-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.k-alert-modal.k-show {
    opacity: 1;
    pointer-events: auto;
}

/* Modal box */
.k-alert-box {
    background: var(--pmodal) !important;
    color: #fff;
    padding: 0;
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
    transform: scale(0.8);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
 /* 4-sided gradient borders */
.klinear{   background-image: 
        linear-gradient(to right, #ffc107, #ffc107),   /* top */
        linear-gradient(to right, #ffc107, #ffc107),   /* bottom */
        linear-gradient(to bottom, #ffc107, #ffc107),  /* left */
        linear-gradient(to bottom, #ffc107, #ffc107);  /* right */
    
    background-repeat: no-repeat;
    background-size: 100% 2px, 100% 2px, 2px 100%, 2px 100%;
    background-position: top left, bottom left, top left, top right;
}
.k-alert-modal.k-show .k-alert-box {
    transform: scale(1);
}

/* Header */
.k-alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    /*border-bottom: 1px solid #333;*/
}

.k-alert-header-buttons button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin-left: 8px;
    transition: color 0.2s;
}

.k-alert-header-buttons button:hover {
    color: #f0f0f0;
}

/* Content */
.k-alert-content {
    padding: 16px;
    font-size: 15px;
    line-height: 1.5;
}

/* Footer */
.k-alert-footer {
    padding: 12px 16px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Buttons */
.k-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s;
}

.k-btn:hover { opacity: 0.9; }

.k-btn-secondary {
    background: #555;
    color: #fff;
}

.k-btn-danger {
   
    color: #fff;
}

.k-btn-success {
   
    color: #fff;
}

/* Type classes for content */
.k-success { border-left: 2px solid #00c853; }
.k-danger { border-left: 2px solid #d50000;  }
.k-notification { border-left: 2px solid #2962ff; }

