﻿
/* Alert Modal - Same style as Terms Modal */
.alert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.alert-modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eef2f7;
    padding: 20px 25px;
    background: white;
    border-radius: 10px 10px 0 0;
}

    .alert-modal-header h3 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1a2c3e;
        margin: 0;
        font-family: "Krona One", Helvetica, Arial, sans-serif;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .alert-modal-header h3 i {
            color: #dc3545;
            font-size: 1.3rem;
        }

.close-alert {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8e9eae;
    transition: 0.2s;
    line-height: 1;
}

    .close-alert:hover {
        color: #dc3545;
    }

.alert-modal-body {
    padding: 25px;
}

.alert-message {
    margin-bottom: 25px;
}

    .alert-message p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: #2c3e50;
        font-family: "Krona One", Helvetica, Arial, sans-serif;
    }

    .alert-message .job-title {
        font-weight: 700;
        color: #1f6392;
        background: #f0f6fe;
        display: inline-block;
        padding: 2px 8px;
        border-radius: 4px;
        margin: 0 3px;
    }

/* Button container - Right aligned with Cancel on left, Delete on right */
.alert-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel {
    background: #f0f2f5;
    color: #5a6e7c;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: "Krona One", Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

    .btn-cancel:hover {
        background: #e4e8ed;
        color: #2c3e50;
    }

.btn-confirm {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: "Krona One", Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
 .btn-confirm:hover {
        background: #c82333;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    }

 .btn-confirm i {
        font-size: 0.8rem;
    }

/* Success Toast Message */
.toast-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: "Krona One", Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-message i {
    font-size: 1rem;
}

.btn-confirm {
    background: #007bff;
    color: #fff;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: "Krona One", Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-success {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: "Krona One", Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
