/* Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* root variables */
:root {
    --primary-bg-gradient: linear-gradient(135deg, #e8e8e8 0%, #f1f1f1 100%);
    --card-gradient-1: linear-gradient(45deg, #f6d365 0%, #fda085 100%);
    --card-gradient-2: linear-gradient(45deg, #8bc34a 0%, #4caf50 100%);
    --card-gradient-3: linear-gradient(45deg, #00c6ff 0%, #0072ff 100%);
    --card-gradient-4: linear-gradient(45deg, #ff7e5f 0%, #feb47b 100%);
    --container-bg: #ffffff;
    --text-color-dark: #333;
    --text-color-light: #fff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-strong: rgba(0, 0, 0, 0.3);
    --button-gradient: linear-gradient(45deg, #00c6ff 0%, #0072ff 100%);
    --input-focus-color: #0072ff;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;

}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: var(--primary-bg-gradient);
    min-height: 100vh;
    color: var(--text-color-dark);
    /* display: flex;
    flex-direction: column; */
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent navbar */
    box-shadow: 0 2px 10px var(--shadow-light);
    padding: 15px 30px;
}

.navbar-brand {
    /* color: var(--text-color-light) !important; */
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: #aaa;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-color-dark) !important;
}

/* container */
.wrapper {
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-container {
    flex-grow: 1;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 20px auto;
    background-color: var(--container-bg);
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-medium);
    animation: fadeIn 0.8s ease-out forwards;
    display: none;
}

.login-container {
    background-color: var(--container-bg);
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-medium);
    max-width: 900px;
    width: 100%;
    padding: 40px;
    animation: fadeIn 0.8s ease-in forwards;
}

/* 
.login-container.active {
    display: block;
} */


.verification-container {
    background-color: var(--container-bg);
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-medium);
    overflow: hidden;
    max-width: 1100px;
    width: 100%;
    margin: 0 30px;
    display: flex;
    flex-direction: row;
    transform: translateY(20px);
    opacity: 0;
    animation: slideIn 0.8s ease-out forwards;
}

/* Headings */
h1,
h2 {
    color: var(--text-color-dark);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* Buttons */
h1 {
    color: var(--text-color-dark);
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 0.5px;
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-control {
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: var(--input-focus-color);
    /* box-shadow: 0 0 0 0.25rem rgba(0, 114, 255, 0.2) !important; */
    box-shadow: none;
    background-color: #ffffff;
    outline: 0.8px solid #0072ff;
}

.btn-primary {
    background: var(--button-gradient);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
    text-transform: uppercase;
}

.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 25px rgba(0, 114, 255, 0.4);
}



/* Datatables buttons */
.dt-buttons .btn {
    margin: 0 5px;
    background-color: #0072ff;
    border: none;
}

.dt-paging-button {
    margin: 0 5px;
}

/* Tables */
.table-responsive {
    margin-top: 40px;
}

.table {
    border-radius: 15px;
    overflow: hidden;
    /* Ensures rounded corners apply to table content */
    box-shadow: 0 8px 20px var(--shadow-light);
}

.table thead {
    background: linear-gradient(45deg, #2575fc 0%, #6a11cb 100%);
    color: var(--text-color-light);
}

.table th {
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: none;
}

.table tbody tr {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.table tbody tr:nth-child(even) {
    background-color: #e9ecef;
}

.table tbody tr:hover {
    background-color: #e2e6ea;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

/* Bandges */
.badge {
    padding: 0.6em 1.2em;
    font-weight: 600;
    font-size: 0.85em;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-warning {
    background-color: #ffc107;
    color: #333;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
}

.badge-info {
    background-color: #17a2b8;
    color: #fff;
}

/* Dashboard Stat Card */
.stat-card {
    background: var(--card-gradient-1);
    /* Default gradient */
    color: var(--text-color-light);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px var(--shadow-medium);
}

.stat-card .icon {
    font-size: 2.5rem;
    margin-right: 20px;
    opacity: 0.8;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-card .label {
    font-size: 1rem;
    opacity: 0.9;
}

.stat-card.gradient-2 {
    background: var(--card-gradient-2);
}

.stat-card.gradient-3 {
    background: var(--card-gradient-3);
}

.stat-card.gradient-4 {
    background: var(--card-gradient-4);
}

/* upload section */
.upload-section {
    border: 2px dashed #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease;
}

.upload-section:hover {
    border-color: var(--input-focus-color);
}

.upload-section .icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.upload-section p {
    color: #888;
    margin-bottom: 20px;
}

/* Index Page  */
.company-image-section {
    flex: 1;
    background: var(--secondary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    position: relative;
    overflow: hidden;
}

.company-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

.company-image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: transform 0.4s ease;
    z-index: 2;
}

.company-image-section img:hover {
    transform: scale(1.03);
}

.verification-form-section {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.verification-form-section h2 {
    color: var(--text-color-dark);
    margin-bottom: 35px;
    font-weight: 800;
    /* Bolder heading */
    text-align: center;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .verification-container {
        max-width: 800px;
    }

    .verification-form-section {
        padding: 40px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-container {
        padding: 20px 15px;
        margin: 15px auto;
    }

    h1 {
        font-size: 2rem;
    }


    .stat-card {
        align-items: center;
        padding: 20px;
    }

    .stat-card .icon {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .stat-card .value {
        font-size: 2rem;
    }

    .stat-card .label {
        font-size: 0.9rem;
    }

    .table th,
    .table td {
        padding: 10px;
        font-size: 0.8rem;
    }

    .verification-container {
        flex-direction: column;
        border-radius: 15px;
        animation: none;
        transform: none;
        opacity: 1;
    }

    .company-image-section {
        border-bottom-left-radius: 0;
        border-top-right-radius: 15px;
        border-top-left-radius: 15px;
        flex: 1;
    }

    .verification-form-section {
        padding: 30px 20px;
        flex: 1;
    }

    .company-image-section img {
        max-width: 70%;
    }
}


/* animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}