/* Ardelis Technologies Theme for Invoice Management
 * Base styles and variables
 */

:root {
  /* Color System */
  --color-bg-primary: #0A0A0F;
  --color-bg-secondary: #14141F;
  --color-gradient-start: #6C3CE9;
  --color-gradient-end: #00F0FF;
  --color-accent: #FF2E63;

  /* Text colors */
  --color-text-primary: rgba(255, 255, 255, 1);
  --color-text-secondary: rgba(255, 255, 255, 0.8);
  --color-text-tertiary: rgba(255, 255, 255, 0.6);
  --color-text-disabled: rgba(255, 255, 255, 0.4);

  /* Border and shadow */
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Spacing system */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Base styles */
html, body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gradient-text-reversed {
  background: linear-gradient(to right, var(--color-gradient-end), var(--color-gradient-start));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gradient-accent {
  background: linear-gradient(to right, var(--color-gradient-end), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Component base styling */
.card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-hover:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}

.btn-primary {
  background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
  color: white;
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-border-hover);
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
  border: none;
}

.btn-accent:hover {
  opacity: 0.9;
}

/* Form controls */
.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gradient-end);
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
}

/* Form labels */
.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* Grid pattern background */
.grid-pattern {
  background-image: linear-gradient(to right, rgba(108, 60, 233, 0.1) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(108, 60, 233, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 70%);
}

/* Dividers */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 1.5rem 0;
}

/* Utility classes */
.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-disabled { color: var(--color-text-disabled); }

.bg-primary { background-color: var(--color-bg-primary); }
.bg-secondary { background-color: var(--color-bg-secondary); }

.border-default { border: 1px solid var(--color-border); }
.border-hover { border: 1px solid var(--color-border-hover); }

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

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

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.4s ease forwards;
}

/* Table styling */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table th {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-primary);
}

.table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Badge styling */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.badge-success {
  background-color: rgba(0, 240, 255, 0.1);
  color: var(--color-gradient-end);
}

.badge-warning {
  background-color: rgba(255, 196, 0, 0.1);
  color: rgba(255, 196, 0, 1);
}

.badge-danger {
  background-color: rgba(255, 46, 99, 0.1);
  color: var(--color-accent);
}

/* Loading states */
.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.375rem;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Tooltip styling */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--color-border);
  position: absolute;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: var(--shadow-md);
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


/* Ardelis Technologies Theme for Invoice Management

Main theme file with variables and component styling
*/

:root {
/* Color System */
--color-bg-primary: #0A0A0F;
--color-bg-secondary: #14141F;
--color-gradient-start: #6C3CE9;
--color-gradient-end: #00F0FF;
--color-accent: #FF2E63;
--color-warning: #FFB800;
--color-success: #00F0FF;
/* Text colors */
--color-text-primary: rgba(255, 255, 255, 1);
--color-text-secondary: rgba(255, 255, 255, 0.8);
--color-text-tertiary: rgba(255, 255, 255, 0.6);
--color-text-disabled: rgba(255, 255, 255, 0.4);
/* Border and shadow */
--color-border: rgba(255, 255, 255, 0.1);
--color-border-hover: rgba(255, 255, 255, 0.2);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
/* Spacing system */
--spacing-1: 0.25rem;
--spacing-2: 0.5rem;
--spacing-3: 0.75rem;
--spacing-4: 1rem;
--spacing-6: 1.5rem;
--spacing-8: 2rem;
--spacing-12: 3rem;
--spacing-16: 4rem;
/* Fonts */
--font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
/* Base styles */
html, body {
background-color: var(--color-bg-primary);
color: var(--color-text-primary);
font-family: var(--font-sans);
line-height: 1.5;
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
}
h1 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
}
h2 {
font-size: 2rem;
margin-bottom: 1.25rem;
}
h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
}
h4 {
font-size: 1.25rem;
margin-bottom: 0.75rem;
}
/* Gradient text */
.gradient-text {
background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
display: inline-block;
}
.gradient-text-reversed {
background: linear-gradient(to right, var(--color-gradient-end), var(--color-gradient-start));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
display: inline-block;
}
/* Component styling */
.card {
background-color: var(--color-bg-secondary);
border: 1px solid var(--color-border);
border-radius: 0.75rem;
box-shadow: var(--shadow-md);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.card-frosted {
background-color: rgba(20, 20, 31, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid var(--color-border);
border-radius: 0.75rem;
box-shadow: var(--shadow-md);
}
/* Buttons */
.btn-primary {
background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
transition: opacity 0.15s ease;
}
.btn-primary:hover {
opacity: 0.9;
}
.btn-secondary {
background-color: rgba(255, 255, 255, 0.05);
color: var(--color-text-primary);
border: 1px solid var(--color-border);
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover {
background-color: rgba(255, 255, 255, 0.1);
border-color: var(--color-border-hover);
}
.btn-accent {
background-color: var(--color-accent);
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
transition: opacity 0.15s ease;
}
.btn-accent:hover {
opacity: 0.9;
}
/* Form controls */
.form-control {
background-color: rgba(10, 10, 15, 0.8);
border: 1px solid var(--color-border);
color: var(--color-text-primary);
padding: 0.5rem 0.75rem;
border-radius: 0.375rem;
transition: all 0.15s ease;
}
.form-control:focus {
outline: none;
border-color: var(--color-gradient-end);
box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
}
/* Form labels */
.form-label {
display: block;
margin-bottom: 0.375rem;
font-weight: 500;
color: var(--color-text-secondary);
}
/* Status badges */
.badge {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
font-weight: 600;
border-radius: 9999px;
}
.badge-success {
background-color: rgba(0, 240, 255, 0.1);
color: var(--color-success);
}
.badge-warning {
background-color: rgba(255, 184, 0, 0.1);
color: var(--color-warning);
}
.badge-danger {
background-color: rgba(255, 46, 99, 0.1);
color: var(--color-accent);
}
/* Grid pattern background */
.grid-pattern {
background-image:
linear-gradient(to right, rgba(108, 60, 233, 0.05) 1px, transparent 1px),
linear-gradient(to bottom, rgba(108, 60, 233, 0.05) 1px, transparent 1px);
background-size: 20px 20px;
mask-image: radial-gradient(circle at 50% 50%, black, transparent 70%);
-webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 70%);
}
/* Custom scrollbar for dark theme */
.scrollbar-thin::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 9999px;
}
.scrollbar-thin:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
}
/* Table styling */
.table-ardelis {
width: 100%;
border-collapse: separate;
border-spacing: 0;
}
.table-ardelis th {
background-color: rgba(255, 255, 255, 0.05);
color: var(--color-text-secondary);
font-weight: 600;
text-align: left;
padding: 0.75rem 1rem;
border-bottom: 1px solid var(--color-border);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.table-ardelis td {
padding: 0.75rem 1rem;
border-bottom: 1px solid var(--color-border);
color: var(--color-text-primary);
}
.table-ardelis tr:hover td {
background-color: rgba(255, 255, 255, 0.02);
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.animate-fade-in {
animation: fadeIn 0.3s ease forwards;
}
.animate-slide-up {
animation: slideUp 0.4s ease forwards;
}
/* Modal Backdrop */
.modal-backdrop {
background-color: rgba(10, 10, 15, 0.8);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
/* Loading animation */
.loading-spinner {
border: 3px solid rgba(255, 255, 255, 0.1);
border-radius: 50%;
border-top: 3px solid var(--color-gradient-end);
width: 24px;
height: 24px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Custom focus styles */
*:focus-visible {
outline: 2px solid rgba(0, 240, 255, 0.5);
outline-offset: 2px;
}
/* Custom checkbox styling */
input[type="checkbox"] {
appearance: none;
-webkit-appearance: none;
width: 1rem;
height: 1rem;
border: 1px solid var(--color-border);
border-radius: 0.25rem;
background-color: var(--color-bg-primary);
cursor: pointer;
position: relative;
}
input[type="checkbox"]:checked {
background-color: var(--color-gradient-start);
border-color: var(--color-gradient-start);
}
input[type="checkbox"]:checked::after {
content: "✓";
color: white;
position: absolute;
top: -0.1rem;
left: 0.15rem;
font-size: 0.8rem;
line-height: 1;
}
/* Media Queries for Responsive Design */
@media (max-width: 768px) {
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
.table-responsive {
display: block;
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
}
@media (max-width: 640px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
}
