:root {
  --bg: linear-gradient(135deg, #f87008 0%, #b95624 100%);
  --card-bg: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.20);
  --text: #ffffff;
  --input-bg: rgba(255, 255, 255, 0.08);
  --accent: #e0e0e0;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(31, 38, 135, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--text);
  padding: 2rem;
}

header {
  background: linear-gradient(135deg, #f87008 0%, #b95624 100%);
  color: white;
  padding: 2rem 1rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Logout button positioned at top right */
.logout-section {
  position: absolute;
  top: -1rem;
  right: 0;
  z-index: 10;
}

.btn-logout {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(5px);
}

.btn-logout:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.btn-logout i {
  font-size: 0.8rem;
}

/* Logo and title in same row */
.logo-title-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.app-logo {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.app-title {
  flex: 1;
}

.app-title h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

/* Description and features below */
.app-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-details {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.app-details p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0.95;
}

.features-highlight {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.feature-tag {
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-tag i {
  font-size: 0.8rem;
}

.dashboard-subtitle {
  background: rgba(255,255,255,0.05);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #fff;
}

.dashboard-subtitle p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Responsive design */
@media (max-width: 768px) {
  .logout-section {
    top: -0.5rem;
    right: -0.5rem;
  }
  
  .btn-logout {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .logo-title-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .app-title h1 {
    font-size: 1.8rem;
  }
  
  .features-highlight {
    justify-content: center;
  }
  
  .app-logo {
    width: 60px;
    height: 60px;
  }
  
  .app-details {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-title-row {
    margin-bottom: 1rem;
  }
  
  .app-title h1 {
    font-size: 1.6rem;
  }
  
  .app-details p {
    font-size: 0.9rem;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Grid and Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  transition: transform .25s;
}

.card:hover {
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.card-header i {
  color: var(--accent);
}

.card-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Form Elements */
.field {
  margin-bottom: .9rem;
}

label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .25rem;
  letter-spacing: .3px;
}

input[type="text"], select, input[type="password"] {
  width: 100%;
  padding: .6rem .8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: .9rem;
  transition: border .2s;
}

input[type="text"]:focus, select:focus, input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(224, 224, 224, 0.2);
}

/* Buttons */
.btn-holder {
  margin-top: 2rem;
  text-align: center;
}

.btn {
  padding: .9rem 3rem;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .25);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s;
}

.btn:hover {
  background: rgba(255, 255, 255, .35);
}

/* Footer */
footer {
  margin-top: 3rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0.5rem 0;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.8;
}

.footer-divider {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Lock Screen Styles */
.lock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lock-modal {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.lock-modal h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.lock-modal h2 i {
  margin-right: 0.5rem;
  color: var(--accent);
}

.lock-actions {
  margin-top: 1.5rem;
}

.btn-confirm {
  background: rgba(255, 255, 255, 0.3);
  min-width: 200px;
}

.btn-confirm:hover {
  background: rgba(255, 255, 255, 0.4);
}

.password-field {
  margin-bottom: 1.5rem;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
  display: none;
}

/* Top Navigation Bar */
.top-nav {
  display: none;
}

.top-nav .btn-logout {
  display: none;
}