/* ################################################### */
/* Login and Register Page Styles */
/* ################################################### */



/* ################################################### */
/* Base Styles */
/* ################################################### */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f8f9fa;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}


/* ################################################### */
/* Authentication Container */
/* ################################################### */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  min-height: 600px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ################################################### */
/* Left Side - Branding and Image */
/* ################################################### */
.auth-left {
  flex: 1;
  background: #ffffff;
  color: white;
  padding: 40px;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.auth-header {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tagline {
  font-size: 16px;
  opacity: 0.9;
}

.auth-image {
  flex: 1;
  position: relative;
  
}

.auth-img {
  width: 100%;
  height: 30%;
  object-fit: cover;
  border-radius: 12px;
  
}

.auth-testimonial {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-icon {
  font-size: 24px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.quote-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.author-role {
  font-size: 12px;
  opacity: 0.8;
}


/* ################################################### */
/* Features Section (for Register Page) */
/* ################################################### */
.auth-features {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.auth-features h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-content p {
  font-size: 14px;
  opacity: 0.9;
}


/* ################################################### */
/* Right Side - Form */
/* ################################################### */
.auth-right {
  flex: 1;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form-container {
  width: 100%;
  max-width: 450px;
}

.auth-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-form-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.auth-form-header p {
  font-size: 16px;
  color: #666;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.input-with-icon input,
.input-with-icon textarea,
.input-with-icon select {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.forgot-password {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: #5a67d8;
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6a3b9a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.btn-secondary {
    background-color: grey;
    color: white;
    max-width: 120px;
    border: 1px black solid;
    text-transform: none;
    text-decoration: none
}

    .btn-secondary:hover {
        background-color: orange;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
.btn-block {
  width: 100%;
}
.table-bordered{
    width:500px;
}
    .table-bordered td {
        border: 1px solid white;
        padding: 5px;
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e5e5e5;
}

.divider span {
  padding: 0 16px;
  font-size: 14px;
  color: #666;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-social {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #f8f9fa;
  border: 1px solid #e5e5e5;
  color: #666;
  padding: 0;
}

.btn-social:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.btn-google:hover {
  color: #ea4335;
}

.btn-microsoft:hover {
  color: #0078d4;
}

.btn-apple:hover {
  color: #000000;
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: #666;
  background-color:orange;
  min-height:50px;
  padding-top:12px;
}

.auth-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-footer a:hover {
  color: #5a67d8;
  text-decoration: underline;
}


/* ################################################### */
/* Password Strength Meter */
/* ################################################### */
.password-strength {
  margin-top: 8px;
}

.strength-meter {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.strength-segment {
  height: 4px;
  flex: 1;
  background-color: #e5e5e5;
  border-radius: 2px;
}

.strength-segment.weak {
  background-color: #dc3545;
}

.strength-segment.medium {
  background-color: #ffc107;
}

.strength-segment.strong {
  background-color: #28a745;
}

.strength-text {
  font-size: 12px;
  color: #666;
}


/* ################################################### */
/* Terms Checkbox */
/* ################################################### */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.terms-checkbox label {
  font-size: 14px;
  color: #666;
}

.terms-checkbox a {
  color: #667eea;
  text-decoration: none;
}

.terms-checkbox a:hover {
  text-decoration: underline;
}



/* ################################################### */
/* Responsive Design */
/* ################################################### */
@media (max-width: 992px) {
  .auth-content {
    flex-direction: column;
    max-width: 600px;
  }
  
  .auth-left {
    padding: 32px;
  }
  
  .auth-image {
    display: none;
  }
  
  .auth-testimonial {
    margin-bottom: 0;
  }
  
  .auth-features {
    display: none;
  }
  
  .auth-right {
    padding: 32px;
  }
}

@media (max-width: 576px) {
  .auth-container {
    padding: 0;
  }
  
  .auth-content {
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }
  
  .auth-left {
    padding: 24px;
  }
  
  .auth-right {
    padding: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .social-login {
    flex-wrap: wrap;
  }
}


/* ################################################### */
/* Animations */
/* ################################################### */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form-container {
  animation: fadeIn 0.5s ease-out;
}


/* ################################################### */
/* Focus States for Accessibility */
/* ################################################### */

.input-with-icon input:focus,
.input-with-icon select:focus,
.btn:focus,
.toggle-password:focus,
.remember-me input:focus,
.terms-checkbox input:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}


/* ################################################### */
/* Error States */
/* ################################################### */
.input-error {
  border-color: #dc3545 !important;
}

.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

/* ################################################### */
/* Success States */
/* ################################################### */
.input-success {
  border-color: #28a745 !important;
}


/* ################################################### */
/* Notification Styles */
/* ################################################### */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  animation: slideIn 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-success {
  background-color: #28a745;
}

.notification-error {
  background-color: #dc3545;
}

.notification-info {
  background-color: #007bff;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}