/* Import base styles */
@import 'base/_base.css';

/* Import utility classes */
@import 'utilities/_utilities.css';

/* Import components */
@import 'components/_components.css';

/* BaseCSS Stylesheet */

/* GENERAL STYLES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* DEFAULT styling - Applies if nothing else is specified */
*{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 16px;  
}
/* CONTAINER */
.container {
    width: 90%;
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto; 
}

/* FLOAT */
.float-l {
    float: left;
}
.float-r {
    float: right;
}
.float-none {
    float: none;
}

/* DISPLAY - FLEX */
.flex {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-nowrap {
    flex-wrap: nowrap;
}

/* POSITION - */
.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

/* FLEX - columns */
.flex-col {
    flex-direction: column;
}
.flex-col-reverse {
    flex-direction: column-reverse;
}
.col-gap-0 {
    column-gap: 0;
}
.col-gap-1 {
    column-gap: 10px;
}
.col-gap-2 {
    column-gap: 20px;
}
.col-gap-3 {
    column-gap: 30px;
}
.col-gap-4 {
    column-gap: 40px;
}

/* FLEX - rows */
.flex-row {
    flex-direction: row;
}
.flex-row-reverse {
    flex-direction: row-reverse;
}
.space-between {
    justify-content: space-between;
}
.row-gap-0 {
    row-gap: 0;
}
.row-gap-1 {
    row-gap: 10px;
}
.row-gap-2 {
    row-gap: 20px;
}
.row-gap-3 {
    row-gap: 30px;
}
.row-gap-4 {
    row-gap: 40px;
}

/* DISPLAY - grid */
.grid {
    display: grid;
}

/* DISPLAY - block */
.block {
    display: block;
}

/* DISPLAY - inline-block */
.inline-block {
    display: inline-block;
}

/* DISPLAY - none */
.hide {
    display: none;
}

/* FONT - sizes*/
.tiny-font {
    font-size: 0.75rem !important;
}
.normal-font {
    font-size: 1rem !important;
}
.big-font {
    font-size: 1.25rem !important;
}
.small-heading {
    font-size: 1.5rem !important;
}
.medium-heading {
    font-size: 1.75rem !important;
}
.main-heading {
    font-size: 2rem !important;
}

/* FONT - weight*/
.fw-thin {
    font-weight: 100;
}
.fw-normal {
    font-weight: 400;
}
.fw-thick {
    font-weight: 600 !important;
}
.fw-extra-thick {
    font-weight: 800 !important;
}

/* TEXT - align */
.font-left {
    text-align: left;
}
.font-right {
    text-align: right;
}
.font-center {
    text-align: center;
}

/* TEXT - underline */
.font-underline {
    text-decoration: underline;
}

/* BORDER */
.border-none {
    border: 0;
}
.border-thin {
    border: 1px solid #d6d6d6;
}
.border-thick {
    border: 2px solid #d6d6d6;
}

/* BORDER - top */
.border-t-none {
    border-top: 0;
}
.border-t-thin {
    border-top: 1px solid #d6d6d6;
}
.border-t-thick {
    border-top: 2px solid #d6d6d6;
}

/* BORDER - bottom */
.border-b-none {
    border-bottom: 0;
}
.border-b-thin {
    border-bottom: 1px solid #d6d6d6;
}
.border-b-thick {
    border-bottom: 2px solid #d6d6d6;
}

/* BORDER - left */
.border-l-none {
    border-left: 0;
}
.border-l-thin {
    border-left: 1px solid #d6d6d6;
}
.border-l-thick {
    border-left: 2px solid #d6d6d6;
}

/* BORDER - right */
.border-r-none {
    border-right: 0;
}
.border-r-thin {
    border-right: 1px solid #d6d6d6;
}
.border-r-thick {
    border-right: 2px solid #d6d6d6;
}

/*COLOR - text color*/
.font-white {
    color: #FFF;
}
.font-black {
    color: #000;
}
.font-red {
    color: #D22B2B;
}
.font-light-red {
    color: #FAA0A0;
}
.font-deep-red {
    color: #A42A04;
}
.font-green {
    color: #228B22;
}
.font-light-green {
    color: #90EE90;
}
.font-deep-green {
    color: #355E3B;
}
.font-blue {
    color: #0000FF;
}
.font-light-blue {
    color: #A7C7E7;
}
.font-deep-blue {
    color: #00008B;
}

/*COLOR - background*/
.bg-white {
    background: #FFF !important;
}
.bg-black {
    background: #000;
}
.bg-light-red {
    background: #ffe4e4;
}
.bg-deep-red {
    background: #C04000;
}
.bg-light-green {
    background: #ECFFDC;
}
.bg-deep-green {
    background: #228B22;
}
.bg-light-blue {
    background: #F0FFFF;
}
.bg-deep-blue {
    background: #0096FF;
}

/* MARGIN - four equal sides */
.m-0 {
    margin: 0;
}
.m-1 {
    margin: 10px;
}
.m-2 {
    margin: 20px;
}
.m-3 {
    margin: 30px;
}
.m-4 {
    margin: 40px;
}

/* MARGIN - two equal sides (Top / Bottom) */
.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}
.my-1 {
    margin-top: 10px;
    margin-bottom: 10px;
}
.my-2 {
    margin-top: 20px;
    margin-bottom: 20px;
}
.my-3{
    margin-top: 30px;
    margin-bottom: 30px;
}
.my-4{
    margin-top: 40px;
    margin-bottom: 40px;
}

/* MARGIN - two equal sides (Left / Right) */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mx-0 {
    margin-left: 0;
    margin-right: 0;
}
.mx-1 {
    margin-left: 10px;
    margin-right: 10px;
}
.mx-2 {
    margin-left: 20px;
    margin-right: 20px;
}
.mx-3 {
    margin-left: 30px;
    margin-right: 30px;
}
.mx-4 {
    margin-left: 40px;
    margin-right: 40px;
}

/* MARGIN - one side (Top) */
.m-t-0{
    margin-top: 0;
}
.mt-1{
    margin-top: 10px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-3 {
    margin-top: 30px;
}
.mt-4 {
    margin-top: 40px;
}

/* MARGIN - one side (Bottom) */
.mb-0 {
    margin-bottom: 0;
}
.mb-1{
    margin-bottom: 10px;
}
.mb-2 {
    margin-bottom: 20px;
}
.mb-3 {
    margin-bottom: 30px;
}
.mb-4 {
    margin-bottom: 40px;
}

/* MARGIN - one side (Left) */
.ml-auto {
    margin-left: auto;
}
.ml-0 {
    margin-left: 0;
}
.ml-1{
    margin-left: 10px;
}
.ml-2 {
    margin-left: 20px;
}
.ml-3 {
    margin-left: 30px;
}
.ml-4 {
    margin-left: 40px;
}

/* MARGIN - one side (Right) */
.mr-auto {
    margin-right: auto;
}
.mr-0 {
    margin-right: 0;
}
.mr-1{
    margin-right: 10px;
}
.mr-2 {
    margin-right: 20px;
}
.mr-3 {
    margin-right: 30px;
}
.mr-4 {
    margin-right: 40px;
}

/* PADDING - four equal sides */
.p-0 {
    padding: 0;
}
.p-1 {
    padding: 10px;
}
.p-2 {
    padding: 20px;
}
.p-3 {
    padding: 30px;
}
.p-4 {
    padding: 40px;
}

/* PADDING - two equal sides (Top / Bottom) */
.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}
.py-1 {
    padding-top: 10px;
    padding-bottom: 10px;
}
.py-2 {
    padding-top: 20px;
    padding-bottom: 20px;
}
.py-3{
    padding-top: 30px;
    padding-bottom: 30px;
}
.py-4{
    padding-top: 40px;
    padding-bottom: 40px;
}

/* PADDING - two equal sides (Left / Right) */
.px-0 {
    padding-left: 0;
    padding-right: 0;
}
.px-1 {
    padding-left: 10px;
    padding-right: 10px;
}
.px-2 {
    padding-left: 20px;
    padding-right: 20px;
}
.px-3 {
    padding-left: 30px;
    padding-right: 30px;
}
.px-4 {
    padding-left: 40px;
    padding-right: 40px;
}

/* PADDING - one side (Top) */
.pt-0 {
    padding-top: 0;
}
.pt-1{
    padding-top: 10px;
}
.pt-2 {
    padding-top: 20px;
}
.pt-3 {
    padding-top: 30px;
}
.pt-4 {
    padding-top: 40px;
}

/* PADDING - one side (Bottom) */
.pb-0 {
    padding-bottom: 0;
}
.pb-1{
    padding-bottom: 10px;
}
.pb-2 {
    padding-bottom: 20px;
}
.pb-3 {
    padding-bottom: 30px;
}
.pb-4 {
    padding-bottom: 40px;
}

/* PADDING - one side (Left) */
.pl-0 {
    padding-left: 0;
}
.pl-1{
    padding-left: 10px;
}
.pl-2 {
    padding-left: 20px;
}
.pl-3 {
    padding-left: 30px;
}
.pl-4 {
    padding-left: 40px;
}

/* PADDING - one side (Right) */
.pr-0 {
    padding-right: 0;
}
.pr-1{
    padding-right: 10px;
}
.pr-2 {
    padding-right: 20px;
}
.pr-3 {
    padding-right: 30px;
}
.pr-4 {
    padding-right: 40px;
}

/*WIDTH - percentages*/
.w-100p {
    width: 100%;
}
.w-screen {
    height: 100vw;
}
/* .w-95p {
    width: 95%;
} */
.w-90p {
    width: 90%;
}
.w-80p {
    width: 80%;
}
.w-70p {
    width: 70%;
}
.w-60p {
    width: 60%;
}
.w-50p {
    width: 50%;
}
.w-40p {
    width: 40%;
}
/* .w-33p {
    width: 33.333%;
} */
.w-30p {
    width: 30%;
}
/* .w-25p {
    width: 25%;
} */
.w-20p {
    width: 20%;
}
.w-10p {
    width: 10%;
}
/* .w-5p {
    width: 5%;
} */

/*WIDTH - pixels*/
.w-1 {
    width: 10px;
}
.w-2 {
    width: 50px;
}
.w-3 {
    width: 100px;
}
.w-4 {
    width: 200px;
}

/*HEIGHT - percentages*/
.h-100p {
    height: 100%;
}
.h-screen {
    height: 100vh;
}
.h-95p {
    height: 95%;
}
.h-90p {
    height: 90%;
}
.h-80p {
    height: 80%;
}
.h-70p {
    height: 70%;
}
.h-60p {
    height: 60%;
}
.h-50p {
    height: 50%;
}
.h-40p {
    height: 40%;
}
.h-33p {
    height: 33.333%;
}
.h-30p {
    height: 30%;
}
.h-25p {
    height: 25%;
}
.h-20p {
    height: 20%;
}
.h-10p {
    height: 10%;
}
.h-5p {
    height: 5%;
}

/*HEIGHT - pixels*/
.h-1 {
    height: 10px;
}
.h-2 {
    height: 50px;
}
.h-3 {
    height: 100px;
}
.h-4 {
    height: 200px;
}

/*BOX-SHADOW*/
.box-shadow-sm {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.box-shadow {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.box-shadow-lg {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* FORM COMPONENT */
input {
    border: #d6d6d6 1px solid;
    outline: none;
    border-radius: 4px;
    padding: 6px;
    cursor: auto;
}

textarea {
    border: #d6d6d6 1px solid;
    outline: none;
    border-radius: 4px;
    padding: 6px;
    cursor: auto;
}

form button {
    background: #fff;
    border: #d6d6d6 1px solid;
    border-radius: 4px;
    padding: 5px 10px;
}

/* TABLE */
table {
    padding: 0;
    background: #fff;
    border-collapse: collapse;
    line-height: 2.5rem;
    /* border: #d6d6d6 1px solid; */
    color: black;
}

/* TABLE - Normal Table */
table.normal-table {
    padding: 0;
    background: #fff;
    border-collapse: collapse;
    line-height: 2.5rem;
    /* border: #d6d6d6 1px solid; */
    color: black;
}

table.striped tr:nth-child(even) {
    background: #d6d6d6;
}

th {
    border-bottom: 1px #d6d6d6 solid;
    padding-left: 10px;
    padding-right: 10px; 
    font-weight: 600;
    font-size: 16px;
}

tr {
    border-bottom: 1px #d6d6d6 solid;
}

td {
    padding-left: 10px;
    padding-right: 10px;
}

/* tr:nth-child(even) {
    background: #d6d6d6;
} */

/* LIST */
ul {
    list-style: none;
    color: black;
}
li, a {
    text-decoration: none;
    color: black;
}

#alert, .alert {
    padding: 10px 30px;
    margin-bottom: 40px;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --border-color: #2d2d2d;
    --primary-color: #bb86fc;
    --secondary-color: #03dac6;
    --accent-color: #3700b3;
}

[data-theme="dark"] body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

[data-theme="dark"] .card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .btn-primary {
    background-color: var(--primary-color);
    color: #000000;
    border: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .btn-primary:hover {
    background-color: #a370f0;
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-secondary {
    background-color: var(--secondary-color);
    color: #000000;
    border: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: #00c4b4;
    transform: translateY(-1px);
}

[data-theme="dark"] .alert {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .bg-white {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .bg-black {
    background-color: var(--accent-color) !important;
}

[data-theme="dark"] .font-white {
    color: var(--text-color) !important;
}

[data-theme="dark"] .font-black {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .bg-light-red {
    background-color: #cf6679 !important;
}

[data-theme="dark"] .bg-light-green {
    background-color: #00c853 !important;
}

[data-theme="dark"] .bg-light-blue {
    background-color: #2962ff !important;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + label {
    background-color: #2196F3;
}

.toggle-switch input:checked + label:before {
    transform: translateX(26px);
}

/* Dark Mode Demo */
.dark-mode-demo {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .dark-mode-demo {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .toggle-switch label {
    background-color: var(--border-color);
}

[data-theme="dark"] .toggle-switch input:checked + label {
    background-color: var(--primary-color);
}

[data-theme="dark"] .toggle-switch input:checked + label:before {
    background-color: var(--text-color);
}

[data-theme="dark"] .margin-box {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color);
}

[data-theme="dark"] .margin-box::before,
[data-theme="dark"] .margin-box::after {
    color: var(--text-color);
}

[data-theme="dark"] .margin-box:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .margin-box:hover::before,
[data-theme="dark"] .margin-box:hover::after {
    color: var(--primary-color);
}

[data-theme="dark"] .m-0,
[data-theme="dark"] .m-1,
[data-theme="dark"] .m-2,
[data-theme="dark"] .m-3,
[data-theme="dark"] .m-4,
[data-theme="dark"] .my-0,
[data-theme="dark"] .my-1,
[data-theme="dark"] .my-2,
[data-theme="dark"] .my-3,
[data-theme="dark"] .my-4,
[data-theme="dark"] .mx-0,
[data-theme="dark"] .mx-1,
[data-theme="dark"] .mx-2,
[data-theme="dark"] .mx-3,
[data-theme="dark"] .mx-4,
[data-theme="dark"] .mt-0,
[data-theme="dark"] .mt-1,
[data-theme="dark"] .mt-2,
[data-theme="dark"] .mt-3,
[data-theme="dark"] .mt-4,
[data-theme="dark"] .mb-0,
[data-theme="dark"] .mb-1,
[data-theme="dark"] .mb-2,
[data-theme="dark"] .mb-3,
[data-theme="dark"] .mb-4,
[data-theme="dark"] .ml-0,
[data-theme="dark"] .ml-1,
[data-theme="dark"] .ml-2,
[data-theme="dark"] .ml-3,
[data-theme="dark"] .ml-4,
[data-theme="dark"] .mr-0,
[data-theme="dark"] .mr-1,
[data-theme="dark"] .mr-2,
[data-theme="dark"] .mr-3,
[data-theme="dark"] .mr-4 {
    border-color: var(--border-color);
}

[data-theme="dark"] .margin-box::before,
[data-theme="dark"] .margin-box::after {
    color: var(--text-color);
}

[data-theme="dark"] .margin-box:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .margin-box:hover::before,
[data-theme="dark"] .margin-box:hover::after {
    color: var(--primary-color);
}

[data-theme="dark"] .flex.space-between.mb-4[style*="background: #f5f5f5"] {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] div[style*="background: #f5f5f5"] {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] aside h4 {
    color: #ffffff !important;
}

[data-theme="dark"] aside li {
    color: #ffffff !important;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

/* Animation Duration Classes */
.animate-duration-fast {
    animation-duration: 0.3s;
}

.animate-duration-normal {
    animation-duration: 0.5s;
}

.animate-duration-slow {
    animation-duration: 1s;
}

/* Animation Delay Classes */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Animation Fill Mode */
.animate-forwards {
    animation-fill-mode: forwards;
}

.animate-backwards {
    animation-fill-mode: backwards;
}

.animate-both {
    animation-fill-mode: both;
}

/* Animation Timing Functions */
.animate-ease {
    animation-timing-function: ease;
}

.animate-linear {
    animation-timing-function: linear;
}

.animate-ease-in {
    animation-timing-function: ease-in;
}

.animate-ease-out {
    animation-timing-function: ease-out;
}

.animate-ease-in-out {
    animation-timing-function: ease-in-out;
}

/* Dark Mode Animation Styles */
[data-theme="dark"] .animate-pulse {
    animation: pulse 2s infinite;
}

[data-theme="dark"] .animate-bounce {
    animation: bounce 1s infinite;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .theme-toggle {
    color: var(--text-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: scale(0.5);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: scale(0.5);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
/* Tablet (768px and below) */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    /* Layout adjustments */
    .flex {
        flex-direction: column;
    }

    .w-20p, .w-80p {
        width: 100%;
    }

    /* Sidebar adjustments */
    aside {
        position: static;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    aside .sticky {
        position: static;
    }

    /* Grid adjustments */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Typography adjustments */
    .main-heading {
        font-size: 1.75rem;
    }

    .medium-heading {
        font-size: 1.5rem;
    }

    .normal-font {
        font-size: 0.95rem;
    }

    /* Spacing adjustments */
    .p-4 {
        padding: 1.25rem;
    }

    .m-4 {
        margin: 1.25rem;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 0.75rem;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .navbar .flex {
        margin-top: 0.5rem;
        width: 100%;
        justify-content: space-between;
    }

    /* Component adjustments */
    .card {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        width: auto;
    }

    /* Form adjustments */
    .form-group {
        width: 100%;
    }

    .form-control {
        width: 100%;
    }

    /* Table adjustments */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Animation adjustments */
    .animate-fade-in,
    .animate-slide-in,
    .animate-bounce,
    .animate-pulse,
    .animate-spin,
    .animate-shake {
        animation-duration: 0.5s;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Container adjustments */
    .container {
        width: 100%;
        padding: 0 10px;
    }

    /* Grid adjustments */
    .grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Typography adjustments */
    .main-heading {
        font-size: 1.5rem;
    }

    .medium-heading {
        font-size: 1.25rem;
    }

    .normal-font {
        font-size: 0.9rem;
    }

    /* Navigation adjustments */
    .navbar .flex {
        flex-direction: column;
        gap: 0.75rem;
    }

    .navbar .btn {
        width: 100%;
        text-align: center;
    }

    /* Component adjustments */
    .card {
        padding: 1rem;
    }

    .btn {
        padding: 0.75rem 1rem;
    }

    /* Form adjustments */
    .form-group {
        margin-bottom: 1rem;
    }

    /* Table adjustments */
    table {
        font-size: 0.9rem;
    }

    /* Animation adjustments */
    .animate-fade-in,
    .animate-slide-in,
    .animate-bounce,
    .animate-pulse,
    .animate-spin,
    .animate-shake {
        animation-duration: 0.4s;
    }

    /* Dark mode toggle adjustments */
    .theme-toggle {
        width: 32px;
        height: 32px;
    }

    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }

    /* Footer adjustments */
    footer .flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    footer .nav-link {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hide-tablet {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Responsive Grid System */
@media (max-width: 768px) {
    .grid-2-tablet {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-1-mobile {
        grid-template-columns: 1fr;
    }
}

/* Responsive Spacing */
@media (max-width: 768px) {
    .p-tablet-2 {
        padding: 0.75rem;
    }
    .m-tablet-2 {
        margin: 0.75rem;
    }
}

@media (max-width: 480px) {
    .p-mobile-1 {
        padding: 0.5rem;
    }
    .m-mobile-1 {
        margin: 0.5rem;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .text-tablet-center {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .text-mobile-center {
        text-align: center;
    }
}

/* Responsive Flexbox */
@media (max-width: 768px) {
    .flex-tablet-col {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .flex-mobile-col {
        flex-direction: column;
    }
}