﻿/* Set minimum page height and sticky footer */
:root {
    --primary: #4e73df;
    --secondary: #6c757d;
    --success: #1cc88a;
    --info: #36b9cc;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --light: #f8f9fc;
    --dark: #5a5c69;
}
html, body {
    height: 100%; /* Full viewport height */
}

body {
    display: flex;
    /*background: linear-gradient(120deg, #f8f9fc, #e9ecef);*/
    min-height: 100vh; /* Minimum height = full viewport */
}


.uppercase {
    text-transform: uppercase;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
}
/* Common card style */
.contact-card {
    border-radius: 12px; /* smooth corners */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* subtle drop shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Hover effect: lift slightly */
    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    }



/* Optional card gradients */
/* Contact Info Card */
.contact-info-card {
    /*background: #f1f3f5;*/ /*linear-gradient(135deg, #fff3e0, #ffe0b2); */ /* soft warm gradient */
    color: #333;
}



/* Map Card */
.contact-map-card {
    background: #f1f3f5; /* subtle light gray */
}

/* Style for Summernote validation error */
.note-editor.error {
    border: 1px solid #dc3545 !important;
}

    .note-editor.error .note-toolbar {
        border-bottom: 1px solid #dc3545 !important;
    }
.custom-file-input {
    display: none;
}

.custom-file-label {
    border: 1px solid #ccc;
    display: block;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    background-color: #f8f9fa;
}
/* Base gradient button */
.btn-gradient {
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    transform: translateY(0);
}

/* Primary */
.btn-gradient-primary {
    background: linear-gradient(90deg, #007bff, #00bfff);
}

    .btn-gradient-primary:hover {
        background: linear-gradient(90deg, #00bfff, #007bff);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    }

/* Success */
.btn-gradient-success {
    background: linear-gradient(90deg, #28a745, #5cd65c);
}

    .btn-gradient-success:hover {
        background: linear-gradient(90deg, #5cd65c, #28a745);
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    }

/* Warning */
.btn-gradient-warning {
    background: linear-gradient(90deg, #ffc107, #ffdd57);
    color: #212529;
}

    .btn-gradient-warning:hover {
        background: linear-gradient(90deg, #ffdd57, #ffc107);
        color: #000;
        box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    }

/* Danger */
.btn-gradient-danger {
    background: linear-gradient(90deg, #dc3545, #ff6f61);
}

    .btn-gradient-danger:hover {
        background: linear-gradient(90deg, #ff6f61, #dc3545);
        box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    }
/* Info */
.btn-gradient-info {
    background: linear-gradient(90deg, #17a2b8, #5bc0de);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-gradient-info:hover {
        background: linear-gradient(90deg, #5bc0de, #17a2b8);
        box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
        transform: translateY(-2px);
    }
    /*light*/
.btn-gradient-light {
    background: linear-gradient(90deg, #f8f9fa, #e2e6ea);
    color: #212529;
    border: none;
    transition: all 0.3s ease;
}
/*Dark*/
    .btn-gradient-light:hover {
        background: linear-gradient(90deg, #e2e6ea, #f8f9fa);
        color: #000;
        box-shadow: 0 5px 15px rgba(248, 249, 250, 0.4);
        transform: translateY(-2px);
    }
.btn-gradient-dark {
    background: linear-gradient(90deg, #343a40, #212529);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-gradient-dark:hover {
        background: linear-gradient(90deg, #212529, #343a40);
        box-shadow: 0 5px 15px rgba(33, 37, 41, 0.4);
        transform: translateY(-2px);
    }
   /* Secondary*/
.btn-gradient-secondary {
    background: linear-gradient(90deg, #6c757d, #a0a5ab);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-gradient-secondary:hover {
        background: linear-gradient(90deg, #a0a5ab, #6c757d);
        box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
        transform: translateY(-2px);
    }

.file-name {
    margin-top: 0.5rem;
    font-style: italic;
}
.fixed-plugin {
    position: fixed;
    top: 81px;
    right: 0;
    background: rgba(0,0,0,.3);
    z-index: 1031;
    border-radius: 8px 0 0 8px;
    text-align: center;
    color: #ffffff;
}

    .fixed-plugin i {
        color: #fff;
        font-size: 1.5em;
    }

.hero-section {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
   /* margin-top:3rem;*/
}

.action-card {
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.12); /* Subtle border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .action-card:hover {
        transform: translateY(-5px);
    }

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2575fc;
}
.search-box {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6; 
}
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Fix for active page number visibility */
.pagination .page-item.active .page-link {
    color: white !important;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Hover state */
.pagination .page-link:hover {
    color: #0d6efd;
}

/* Current page styling */
.pagination .page-item.active .page-link:hover {
    color: white !important;
}

.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

.status-card {
    border-inline-start: 4px solid;
    transition: all 0.3s;
}

.status-pending {
   
    border-inline-start-color: #ffc107;
}

.status-approved {
    border-inline-start-color: #28a745;
}

.status-rejected {
    border-inline-start-color: #dc3545;
}
.status-investigating {
    border-inline-start-color: #2575fc;
}

input.is-invalid, select.is-invalid {
    border-color: #dc3545;
}

input.is-valid, select.is-valid {
    border-color: #28a745;
}
.white-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.white-link:hover {
        color: var(--bs-warning);
    }
/*
    breadcurmps
*/






/* Modern Breadcrumb with Arrow Separators */
.breadcrumb {
    --bs-breadcrumb-divider: "›"; /* Modern arrow instead of slash */
    font-size: 0.95rem;
    display: inline-flex;
}


.breadcrumb-item.active {
    color: #4a5568;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 8px;
}

.breadcrumb-item {
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0 0.1rem;
    position: relative;
}

    .breadcrumb-item a {
        color: #6f42c1;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        padding: 0.4rem 0.8rem;
        border-radius: 8px;
    }

        .breadcrumb-item a:hover {
            color: #d53f8c;
            background-color: rgba(213, 63, 140, 0.08);
            transform: translateY(-2px);
        }



    /* Animation for breadcrumb items */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .breadcrumb .breadcrumb-item {
    animation: fadeIn 0.4s ease forwards;
}

    .breadcrumb .breadcrumb-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .breadcrumb .breadcrumb-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .breadcrumb .breadcrumb-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .breadcrumb .breadcrumb-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .breadcrumb .breadcrumb-item:nth-child(5) {
        animation-delay: 0.5s;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.7rem 1rem;
    }

        .breadcrumb .breadcrumb-item {
            font-size: 0.85rem;
            padding: 0 0.3rem;
        }

            .breadcrumb .breadcrumb-item:not(:first-child)::before {
                margin: 0 0.5rem;
            }
}

@media (max-width: 576px) {
    .breadcrumb {
        padding: 0.6rem 0.8rem;
    }

        .breadcrumb .breadcrumb-item {
            font-size: 0.8rem;
        }

        .breadcrumb .breadcrumb-text {
            display: none;
        }

        .breadcrumb .breadcrumb-icon {
            margin-right: 0;
            font-size: 1rem;
        }

        .breadcrumb .breadcrumb-item:not(:first-child)::before {
            margin: 0 0.4rem;
        }
}
.colored-text {
 
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #6f42c1, #d53f8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agree-terms a {
    color: #6f42c1;
    text-decoration: none;
    transition: all 0.3s ease;
/*    display: flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;*/
}

    .agree-terms a:hover {
        color: #d53f8c;
        /* background-color: rgba(213, 63, 140, 0.08);*/
        transform: translateY(-2px);
        font-weight: 600;
    }
/*
 * Scoped Styles for the Login Form
 * Uses a unique class prefix to prevent conflicts.
 */

.login-card {
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   /* width: 60%;*/
    max-width: 500px;
    padding: 40px;
    margin: 50px auto;
}

    .login-card h2 {
        font-weight: 700;
        color: #343a40;
        margin-bottom: 30px;
        text-align: center;
    }

/* New CSS to center form fields */
.form-centered {
    display: flex;
    flex-direction: column;
    align-items: center; /* This is the key property */
    width: 100%;
}

    .form-centered .mb-3 {
        width: 100%; /* Ensure each form group takes full width within the centered container */
    }

.login-card .form-control {
    border-radius: 8px;
    max-width: none !important;
    width: 100% !important; /* Ensure inputs take full width of their parent container */
   
}

    .login-card .form-control:focus {
        box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
        border-color: #007bff;
    }

.login-card .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

    .login-card .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    }

.login-card .form-check-label a {
    text-decoration: none;
    color: #007bff;
}

/* Updated rule for the moved forgot password link */
.login-card .forgot-password {
    text-align: center; /* Ensures it's centered if you don't use Bootstrap's text-center */
    margin-top: 15px;
}

    .login-card .forgot-password a {
        color: #6c757d;
        text-decoration: none;
        font-size: 0.9rem;
    }

/*registration comments*/
.timeline {
    position: relative;
    padding-left: 1rem;
    margin: 0 0 0 1rem;
    border-left: 1px solid #dee2e6;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item-marker {
    position: absolute;
    left: -1.5rem;
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
}

.timeline-item-marker-indicator {
    display: block;
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    border: 3px solid #fff;
}

.timeline-item-content {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.admin-comment .timeline-item-content {
    background-color: #e7f1ff;
    border-left: 3px solid #0d6efd;
}
.animated-card {
    transition: transform 0.2s;
}

    .animated-card:hover {
        transform: translateY(-2px);
    }

    /*Dashboard*/
.dashboard-card {
    border: none;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.dashboard-card-icon {
    font-size: 2rem;
    opacity: 0.3;
}

.bg-gradient-primary {
    background: linear-gradient(180deg, var(--primary) 10%, #224abe 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(180deg, var(--secondary) 10%,#6c757d 100%);
}

.bg-gradient-dark {
    background: linear-gradient(180deg, var(--dark) 10%,#212529 100%);
}

.bg-gradient-success {
    background: linear-gradient(180deg, var(--success) 10%, #0f9d6e 100%);
}

.bg-gradient-info {
    background: linear-gradient(180deg, var(--info) 10%, #2a96a5 100%);
}

.bg-gradient-warning {
    background: linear-gradient(180deg, var(--warning) 10%, #dda20a 100%);
}

.bg-gradient-danger {
    background: linear-gradient(180deg, var(--danger) 10%, #ff0000 100%);
}

.stat-card {
    color: white;
}
.dashboard-page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}
.badge-pending {
    background-color: #f6c23e;
    color: white;
}

.badge-approved {
    background-color: #1cc88a;
    color: white;
}

.badge-rejected {
    background-color: #e74a3b;
    color: white;
}
.badge-investigated {
    background-color: #0d6efd;
   
    color: white;
}
/*crud card (cretae,edit entity)*/
.crud-card {
    border: none;
    border-radius: 12px;
}

    .crud-card .card-header {
        border-radius: 12px 12px 0 0 !important;
        padding: 1.5rem;
    }

    .crud-card .card-body {
        padding: 2rem;
    }

    .crud-card.form-floating {
        position: relative;
    }

    .crud-card .form-control,
    .crud-card .form-select {
        border-radius: 8px;
        border: 2px solid #e9ecef;
        transition: all 0.3s ease;
    }

        .crud-card .form-control:focus,
        .crud-card .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        }

        .crud-card .form-control.is-invalid,
        .crud-card .form-select.is-invalid {
            border-color: #dc3545;
        }

    .crud-card .btn {
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .crud-card .btn-primary {
        background: linear-gradient(45deg, #0d6efd, #0a58ca);
        border: none;
    }

        .crud-card .btn-primary:hover {
            background: linear-gradient(45deg, #0a58ca, #084298);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
        }

    .crud-card .select2-container--default .select2-selection--single {
        height: 50px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        padding: 0.5rem 0.75rem;
    }

    .crud-card .select2-container--default,
    .crud-card .select2-selection--single,
    .crud-card .select2-selection__arrow {
        height: 58px;
    }

.google-map {
    padding-bottom: 30%;
    position: relative;
}

    .google-map iframe {
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        position: absolute;
    }