/* 
  Salon Booking & Management System - Global Styles
  Vanilla CSS, Glassmorphism, Modern UI
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #6C5DD3;
  --primary-hover: #5A4FCF;
  --secondary: #FFA2C0;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --text-main: #11142D;
  --text-muted: #808191;
  --success: #2ED573;
  --danger: #FF6B6B;
  --border: #E4E4E4;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(108, 93, 211, 0.1);
  --shadow-hover: 0 15px 35px rgba(108, 93, 211, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Classes */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 600;
}

p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Layout Utilies */
.container {
  width: 100%;
  max-width: 480px; /* Mobile first max-width for customer/salon portals */
  margin: 0 auto;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container-desktop {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 93, 211, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: white;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 93, 211, 0.1);
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Navigation - Mobile Bottom */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface);
  display: flex;
  justify-content: space-around;
  padding: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
  transition: all 0.3s ease;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active svg {
  stroke: var(--primary);
  fill: rgba(108, 93, 211, 0.1);
}

/* Flash Messages */
.alert {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-error {
  background: rgba(255, 107, 107, 0.1);
  color: var(--danger);
  border-left: 4px solid var(--danger);
}
.alert-success {
  background: rgba(46, 213, 115, 0.1);
  color: var(--success);
  border-left: 4px solid var(--success);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.header-title {
  font-size: 24px;
  font-weight: 700;
}
