:root {
    --bg-gradient: linear-gradient(135deg, #141025, #1a1433);
    --text-color: #e0e0e0;
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --success-color: #00b894;
    --danger-color: #d63031;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-gradient);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Mobile First Container */
.container {
    width: 100%;
    padding: 1rem;
    margin: 0 auto;
}

/* Forms */
input,
select,
button,
textarea {
    width: 100%;
    padding: 15px;
    /* Larger touch target */
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1.1rem;
    /* Larger font */
}

button {
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.1s, background 0.3s;
}

button:active {
    transform: scale(0.98);
}

button:hover {
    background: var(--secondary-color);
}

button.danger {
    background: var(--danger-color);
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

/* Dashboard Menu Buttons */
.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align text left */
    gap: 1rem;
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter than card */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    text-decoration: none;
}

.menu-btn ion-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Specific Colors for Buttons */
.btn-sales {
    border-left: 5px solid var(--success-color);
}

.btn-credit {
    border-left: 5px solid #fdcb6e;
}

.btn-reports {
    border-left: 5px solid #0984e3;
}

.btn-presentation {
    border-left: 5px solid #6c5ce7;
}

.btn-logout {
    border-left: 5px solid var(--danger-color);
    color: #ff7675;
}

/* Typography */
h1,
h2,
h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Dashboard Grid on Tablet/PC */
    .dashboard-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}