/* Custom Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    font-weight: bold;
}

.jumbotron {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

footer {
    margin-top: auto !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.main-content {
    flex: 1;
}

.badge {
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Status Specific Styles */
.status-pending, .status-approved, .status-rejected {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.status-pending {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}

.status-approved {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Form Styling */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.btn {
    border-radius: 5px;
    padding: 8px 16px;
}

.btn-lg {
    padding: 12px 24px;
    font-weight: 500;
}

/* Animation for status indicators */
.success-animation, .error-animation, .pending-animation {
    margin: 20px auto;
}

/* Checkmark animation */
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4caf50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4caf50;
    stroke-miterlimit: 10;
    box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Crossmark animation */
.crossmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #dc3545;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.crossmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #dc3545;
    stroke-miterlimit: 10;
    box-shadow: 0 0 0 rgba(220, 53, 69, 0.4);
    animation: fill-red .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.crossmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: 0 0 0 40px rgba(76, 175, 80, 0.2);
    }
}

@keyframes fill-red {
    100% {
        box-shadow: 0 0 0 40px rgba(220, 53, 69, 0.2);
    }
}
