/* assets/css/style.css - RondIT Glass Luxury Theme */

/* 1. Font Face */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazir.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazir-Bold.woff2') format('woff2');
    font-weight: bold;
}

/* 2. Luxury Color Palette */
:root {
    --primary: #04b3bd;      /* RondIT Teal */
    --primary-dark: #038e96;
    --secondary: #f99533;    /* RondIT Orange */
    --bg-body: #f0f2f5;      /* Ultra Light Grey for contrast */
    --glass-white: rgba(255, 255, 255, 0.95); /* Shimmering White */
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-dark: #2d3436;
    --text-grey: #636e72;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05); /* Luxury Shadow */
    --shadow-hover: 0 15px 35px rgba(4, 179, 189, 0.15);
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    background-color: var(--bg-body);
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* 3. Glassmorphism Cards */
.card {
    background: var(--glass-white);
    backdrop-filter: blur(10px); /* The Glass Effect */
    border: 1px solid #fff;
    border-radius: 20px !important; /* Extra Rounded */
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important;
    padding: 1.5rem !important;
}

/* 4. Sidebar - Modern Dark Glass */
.sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #1e272e 100%);
    color: #fff;
    min-height: 100vh;
    border-top-left-radius: 30px; /* Curve the sidebar top */
    margin-right: -15px; /* Pull to edge */
    padding-top: 30px;
}

.sidebar a {
    color: rgba(255,255,255,0.6);
    border-radius: 12px;
    margin: 5px 15px;
    transition: all 0.3s ease;
}

.sidebar a:hover, .sidebar a.active {
    background: rgba(255,255,255,0.1); /* Frosted Glass Hover */
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateX(-5px);
}

/* 5. Inputs - Clean & Minimal */
.form-control, .form-select {
    background-color: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 12px; /* Rounded Inputs */
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(4, 179, 189, 0.1); /* Soft Glow */
}

/* 6. Buttons - Rounded & Gradient */
.btn {
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn-custom-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(4, 179, 189, 0.3);
}

.btn-custom-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 179, 189, 0.4);
}

/* 7. Modal - Glass Overlay */
.modal-content {
    border-radius: 25px;
    border: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

.modal-header {
    border-bottom: none;
}

.modal-backdrop.show {
    opacity: 0.7; /* Darker backdrop for focus */
    backdrop-filter: blur(5px); /* Blur the background content */
}

/* Helper for Number inputs to look centered/bold */
input[type="number"], input.num-input {
    font-family: 'Vazirmatn', sans-serif;
    letter-spacing: 1px;
}