/* Custom Font - HP Simplified */
@font-face {
    font-family: 'HP Simplified';
    src: url('./HPSIMPLIFIED_RG_0.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #E94702;
    /* Dark Orange */
    --secondary-color: #000000;
    /* Black */
    --accent-color: #FFFFFF;
    /* White */
    --primary-gradient: linear-gradient(135deg, #E94702 0%, #FF8C42 100%);
    --dark-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(233,71,2, 0.3);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(233,71,2, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'HP Simplified', sans-serif;
    background: #000000;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body:not(.auth-body)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(233,71,2, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233,71,2, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Animated background particles */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-section {
    position: relative;
    background: transparent;
    color: white;
    padding: 120px 0 80px;
    margin-bottom: 60px;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233,71,2, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 50px 50px;
    z-index: -1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-section p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Card Effect */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(233,71,2, 0.8);
}

.feature-card .card-body {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Premium Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #E94702 0%, #FF8C42 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(233,71,2, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(233,71,2, 0.7);
}

.btn-primary-custom:active {
    transform: translateY(0) scale(0.98);
}

/* Modern Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.3rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 60%;
}

/* Auth Cards */
.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.auth-card .card-body {
    padding: 3rem;
}

.auth-card h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Form Inputs */
.form-control,
.form-select {
    border: 2px solid rgba(233,71,2, 0.3);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus {
    border-color: #E94702;
    box-shadow: 0 0 0 0.2rem rgba(233,71,2, 0.25), 0 4px 15px rgba(233,71,2, 0.3);
    transform: translateY(-2px);
    background: white;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Dashboard Card */
.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    font-weight: 300;
}

/* Container adjustments */
main {
    position: relative;
    z-index: 1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.auth-page {
    position: relative;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: flex-start;
}

.auth-layout-row {
    gap: 3rem;
}

.auth-hero {
    color: #ffffff;
    max-width: 520px;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(233,71,2, 0.7);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1.6rem;
    margin-bottom: 1rem;
}

.auth-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    max-width: 32rem;
}

.auth-meta {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-meta li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.auth-meta i {
    margin-top: 0.15rem;
    color: #E94702;
}

.auth-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #E94702;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.auth-link {
    color: #E94702;
    text-decoration: none;
}

.auth-link:hover {
    color: #FF8C42;
}

.auth-cta-text {
    color: #ffffff;
}

@media (min-width: 768px) {
    .py-md-0 {
        padding-top: 50px !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .auth-page {
        min-height: auto;
        align-items: flex-start;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .auth-card .card-body {
        padding: 2rem;
    }
}

/* Settings tabs (Application Settings page) - flat with orange underline */
.settings-tabs .nav-link {
    color: #000000 !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0;
    padding-bottom: 0.5rem !important;
}

.settings-tabs .nav-link.active {
    color: #E94702 !important;
    border-bottom-color: #E94702 !important;
    font-weight: 600;
}
