﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: #00BCD4;
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: #0097a7;
        text-decoration: underline;
    }

/* Loading Styles */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #00d4aa 100%);
    color: white;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Navigation Styles */
.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.125rem;
    line-height: 1;
    border-radius: 0.25rem;
}

.top-row {
    background-color: #F0F4F8;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row a {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row a:hover {
            text-decoration: none;
        }

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    color: #fff;
    background-color: #00BCD4;
    border-color: #00BCD4;
}

    .btn-primary:hover {
        background-color: #0097a7;
        border-color: #007c91;
    }

.btn-secondary {
    color: #fff;
    background-color: #4F6D93;
    border-color: #4F6D93;
}

    .btn-secondary:hover {
        background-color: #3d516d;
        border-color: #364b66;
    }

.btn-outline {
    color: #00BCD4;
    background-color: transparent;
    border-color: #00BCD4;
}

    .btn-outline:hover {
        color: #fff;
        background-color: #00BCD4;
        border-color: #00BCD4;
    }

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-text {
    margin-bottom: 1rem;
    color: #6c757d;
}

/* Sidebar */
.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* Alerts */
.alert-info {
    color: #0c5460;
    background-color: #EAF7FB;
    border-color: #bee5eb;
}

.validation-errors, .validation-message {
    color: #D32F2F;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #43A047;
}

.invalid {
    outline: 1px solid #C62828;
}

*:focus {
    outline: 2px solid #00BCD4;
    outline-offset: 2px;
}

button:focus, .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
}
