/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Password Protection Login Screen */
.login-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.login-container {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 1rem;
}

.login-header h1 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.login-header p {
  color: #6c757d;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#password-input {
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

#password-input:focus {
  outline: none;
  border-color: #3498db;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.login-btn {
  padding: 15px 30px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #2980b9, #21618c);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.login-error {
  color: #e74c3c;
  background-color: #fdf2f2;
  border: 1px solid #f8d7da;
  border-radius: 8px;
  padding: 10px 15px;
  margin-top: 10px;
  font-size: 14px;
  animation: shake 0.5s ease-in-out;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Main Layout */
.main-layout {
  display: flex;
  min-height: 100vh;
}

.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Side Menu */
.side-menu {
  width: 280px;
  background-color: #2c3e50;
  color: white;
  padding: 20px;
  overflow-y: auto;
}

.side-menu h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid #34495e;
  padding-bottom: 10px;
}

.organization-list {
  list-style: none;
  margin-bottom: 20px;
}

.org-item {
  padding: 12px 15px;
  margin-bottom: 8px;
  background-color: #34495e;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.org-item:hover {
  background-color: #4a6741;
  transform: translateX(5px);
}

.org-item.active {
  background-color: #3498db;
  box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.org-item.locked {
  opacity: 0.7;
  border-left: 4px solid #e74c3c;
}

.lock-icon {
  font-size: 14px;
  margin-left: 8px;
}

.no-orgs {
  padding: 15px;
  text-align: center;
  color: #95a5a6;
  font-style: italic;
}

.add-org-container {
  text-align: center;
  margin-top: 20px;
}

.add-org-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-org-btn:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Header */
.page-header {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  color: white;
  padding: 30px 20px;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-text {
  text-align: center;
}

.header-text h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 8px;
}

.header-text p {
  font-size: 16px;
  opacity: 0.9;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.settings-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

/* Mobile Organization Selection */
.mobile-org-selection {
  display: none;
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 15px 20px;
}

.org-selector-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-selector-container label {
  font-weight: 600;
  color: #2c5aa0;
  font-size: 14px;
}

.mobile-org-dropdown {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.mobile-org-dropdown:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.mobile-org-dropdown option {
  padding: 10px;
}

/* Container */
.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 30px 20px;
  background-color: #ffffff;
  flex: 1;
}

/* Organization Container */
.org-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.org-header {
  background: linear-gradient(135deg, #34495e, #2c3e50);
  color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.org-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.org-status {
  display: flex;
  align-items: center;
}

.lock-status {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
}

.lock-status.locked {
  background-color: #e74c3c;
  color: white;
}

.lock-status.unlocked {
  background-color: #27ae60;
  color: white;
}

.lock-status.hidden {
  display: none;
}

/* Welcome Message */
.welcome-message {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.welcome-message h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2c5aa0;
}

.welcome-message p {
  font-size: 16px;
  line-height: 1.6;
}

/* Organization Form */
.org-form {
  padding: 30px;
}

/* Form Three-Column Layout */
.form-three-columns {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.form-column-basic,
.form-column-logo,
.form-column-social {
  display: flex;
  flex-direction: column;
}

.column-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ecf0f1;
  text-align: center;
}

.form-column-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.form-column-logo .form-field {
  width: 100%;
}

.form-field {
  margin-bottom: 25px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field input[type="url"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background-color: #fff;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="number"]:focus,
.form-field input[type="url"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-field input:disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
}

/* Logo Upload */
.logo-upload-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.logo-upload-btn {
  align-self: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
}

.logo-upload-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #138496, #117a8b);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.logo-upload-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.logo-download-btn {
  align-self: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, #28a745, #218838);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
  margin-top: 10px;
}

.logo-download-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.logo-download-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: 250px;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  background-color: #f8f9fa;
  margin: 15px 0;
}

.logo-preview img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  border-radius: 5px;
}

.logo-info {
  font-size: 12px;
  color: #6c757d;
  font-style: italic;
  text-align: center;
}

/* CKEditor Container */
.ck-editor {
  margin-bottom: 10px;
}

.ck-editor__editable {
  min-height: 200px !important;
  max-height: 400px !important;
}

/* Word Count */
.word-count-container {
  padding: 5px 10px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 5px 5px;
  font-size: 12px;
  color: #6c757d;
  text-align: right;
}

/* Secondary Social Media Post */
.secondary-social {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.secondary-social-toggle {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.secondary-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.secondary-social-toggle label {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #2c3e50;
}

.secondary-social-container {
  margin-top: 15px;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.save-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #28a745, #34ce57);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #218838, #28a745);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.save-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lock-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffc107, #ffca2c);
  color: #212529;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lock-btn:hover {
  background: linear-gradient(135deg, #e0a800, #ffc107);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.delete-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #dc3545, #e55565);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delete-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #c82333, #dc3545);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.delete-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

.modal h2 {
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 22px;
  font-weight: 600;
}

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

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

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setting-item label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.setting-item select {
  padding: 10px 12px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.setting-item select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #3498db, #5dade2);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2980b9, #3498db);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #95a5a6, #b2bec3);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #7f8c8d, #95a5a6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  color: white;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

/* Message Container */
.message-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1500;
  max-width: 400px;
}

.message {
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  animation: slideInRight 0.3s ease;
}

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

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

.message.info {
  background-color: #17a2b8;
}

.message.warning {
  background-color: #ffc107;
  color: #212529;
}

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

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

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dark Theme */
body.dark-theme {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body.dark-theme .side-menu {
  background-color: #1e1e1e;
  border-right: 1px solid #333;
}

body.dark-theme .org-item {
  background-color: #2d2d2d;
}

body.dark-theme .org-item:hover {
  background-color: #3d3d3d;
}

body.dark-theme .org-item.active {
  background-color: #2980b9;
}

body.dark-theme .container {
  background-color: #222;
}

body.dark-theme .org-container {
  background-color: #2d2d2d;
  border: 1px solid #444;
}

body.dark-theme .org-header {
  background: linear-gradient(135deg, #2c3e50, #1a252f);
}

body.dark-theme .form-field input[type="text"],
body.dark-theme .form-field input[type="email"],
body.dark-theme .form-field input[type="number"],
body.dark-theme .form-field input[type="url"],
body.dark-theme .setting-item select {
  background-color: #333;
  border-color: #555;
  color: #e0e0e0;
}

body.dark-theme .form-field input:focus,
body.dark-theme .setting-item select:focus {
  border-color: #3498db;
  background-color: #3a3a3a;
}

body.dark-theme .form-field label,
body.dark-theme .setting-item label,
body.dark-theme .secondary-social-toggle label {
  color: #e0e0e0;
}

body.dark-theme .secondary-social {
  border-top-color: #555;
}

body.dark-theme .logo-preview {
  background-color: #333;
  border-color: #555;
}

body.dark-theme .modal-content {
  background-color: #2d2d2d;
  border: 1px solid #444;
}

body.dark-theme .modal h2 {
  color: #e0e0e0;
}

body.dark-theme .welcome-message {
  color: #b0b0b0;
}

body.dark-theme .welcome-message h3 {
  color: #3498db;
}

body.dark-theme .mobile-org-selection {
  background-color: #2d2d2d;
  border-bottom-color: #444;
}

body.dark-theme .org-selector-container label {
  color: #3498db;
}

body.dark-theme .mobile-org-dropdown {
  background-color: #333;
  border-color: #555;
  color: #e0e0e0;
}

body.dark-theme .mobile-org-dropdown:focus {
  border-color: #3498db;
  background-color: #3a3a3a;
}

/* Tab System Styles */
.menu-list {
  list-style: none;
  margin-bottom: 20px;
}

.menu-item {
  padding: 12px 15px;
  margin-bottom: 8px;
  background-color: #34495e;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-item:hover {
  background-color: #4a6741;
  transform: translateX(5px);
}

.menu-item.active {
  background-color: #3498db;
  box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.menu-icon {
  font-size: 18px;
}

.organizations-submenu {
  margin-left: 15px;
  margin-top: 10px;
  padding-left: 15px;
  border-left: 2px solid #34495e;
}

.organizations-submenu h4 {
  color: #bdc3c7;
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Tab Selection */
.mobile-tab-selection {
  display: none;
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 15px 20px;
}

.tab-selector-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.mobile-tab-btn {
  flex: 1;
  padding: 12px 15px;
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.mobile-tab-btn.active {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
}

.mobile-tab-btn:hover:not(.active) {
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.mobile-add-org-btn {
  padding: 12px 15px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-add-org-btn:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Guidance Container Styles */
.guidance-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.guidance-header {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  padding: 30px;
  text-align: center;
}

.guidance-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.guidance-header p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.guidance-content {
  padding: 40px;
}

.guidance-section {
  margin-bottom: 40px;
}

.guidance-section h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 10px;
}

.requirements-grid {
  display: grid;
  gap: 25px;
  margin-bottom: 30px;
}

.requirement-item {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  border-left: 4px solid #3498db;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.requirement-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.requirement-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.requirement-number {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.requirement-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.requirement-item p {
  margin-bottom: 15px;
  color: #5d6d7e;
  line-height: 1.6;
}

.requirement-item ul {
  margin-left: 20px;
  color: #5d6d7e;
}

.requirement-item li {
  margin-bottom: 5px;
}

.example-content {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  border-left: 4px solid #16a085;
}

.example-content h4 {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.example-content blockquote {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
  border-left: 3px solid #16a085;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.example-content blockquote p {
  margin-bottom: 15px;
  color: #2c3e50;
}

.example-content blockquote p:last-child {
  margin-bottom: 0;
}

.example-content ul {
  margin-left: 20px;
}

.example-content li {
  margin-bottom: 8px;
  color: #5d6d7e;
}

.next-steps {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #ecf0f1;
}

.start-btn {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.start-btn:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Dark Theme Support for Guidance */
body.dark-theme .guidance-container {
  background-color: #2d2d2d;
}

body.dark-theme .guidance-content {
  background-color: #2d2d2d;
}

body.dark-theme .guidance-section h3 {
  color: #ecf0f1;
  border-bottom-color: #444;
}

body.dark-theme .requirement-item {
  background-color: #3a3a3a;
}

body.dark-theme .requirement-item h4 {
  color: #ecf0f1;
}

body.dark-theme .requirement-item p,
body.dark-theme .requirement-item li {
  color: #bdc3c7;
}

body.dark-theme .example-content {
  background-color: #3a3a3a;
}

body.dark-theme .example-content blockquote {
  background-color: #444;
}

body.dark-theme .example-content blockquote p {
  color: #ecf0f1;
}

body.dark-theme .example-content li {
  color: #bdc3c7;
}

body.dark-theme .mobile-tab-btn {
  background-color: #444;
  border-color: #555;
  color: #e0e0e0;
}

body.dark-theme .mobile-tab-btn:hover:not(.active) {
  background-color: #555;
  border-color: #666;
}

body.dark-theme .mobile-add-org-btn {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

body.dark-theme .mobile-add-org-btn:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
}

body.dark-theme .mobile-tab-selection {
  background-color: #2d2d2d;
  border-bottom-color: #444;
}

body.dark-theme .column-title {
  color: #ecf0f1;
  border-bottom-color: #444;
}

body.dark-theme .logo-preview {
  background-color: #3a3a3a;
  border-color: #555;
}

body.dark-theme .logo-info {
  color: #bdc3c7;
}

/* Tablet Layout (1024px and below) */
@media (max-width: 1024px) {
  .form-three-columns {
    grid-template-columns: 1fr 250px 1fr;
    gap: 25px;
  }
  
  .logo-preview {
    min-height: 180px;
    max-height: 220px;
  }
  
  .logo-preview img {
    max-width: 180px;
    max-height: 180px;
  }
  
  .logo-upload-btn {
    max-width: 180px;
  }
  
  .logo-download-btn {
    max-width: 180px;
  }
}

/* Responsive Design - Hide side menu below 1400px */
@media (max-width: 1399px) {
  .main-layout {
    flex-direction: column;
  }
  
  .side-menu {
    display: none;
  }
  
  .mobile-tab-selection {
    display: block;
  }
  
  .guidance-content {
    padding: 25px;
  }
  
  .requirements-grid {
    gap: 20px;
  }
  
  .requirement-item {
    padding: 20px;
  }
  
  .guidance-header {
    padding: 25px 20px;
  }
  
  .guidance-header h2 {
    font-size: 24px;
  }
  
  .container {
    padding: 20px 15px;
  }
  
  .org-form {
    padding: 20px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .header-text {
    text-align: center;
  }
  
  /* Single Column Layout for mobile/tablet */
  .form-three-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .form-column-logo {
    order: -1; /* Move logo to top on mobile */
  }
  
  .column-title {
    text-align: left;
  }
  
  .logo-preview {
    min-height: 150px;
    max-height: 200px;
  }
  
  .logo-preview img {
    max-width: 150px;
    max-height: 150px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions button {
    width: 100%;
  }
  
  .modal-content {
    margin: 20% auto;
    padding: 20px;
    width: 95%;
  }
  
  .modal-buttons {
    flex-direction: column;
  }
  
  .modal-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .page-header {
    padding: 20px 15px;
  }
  
  .header-content {
    max-width: none;
    width: 100%;
  }
  
  .page-header h1 {
    font-size: 20px;
  }
  
  .mobile-org-selection {
    padding: 15px;
  }
  
  .mobile-add-org-btn {
    min-width: 44px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 20px 15px;
  }
  
  .page-header h1 {
    font-size: 22px;
  }
  
  .org-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .org-header h2 {
    font-size: 20px;
  }
  
  .ck-editor__editable {
    min-height: 150px !important;
    max-height: 250px !important;
  }
}

/* Dark Theme - Login Screen */
body.dark-theme .login-container {
  background-color: #2d2d2d;
  color: #e0e0e0;
}

body.dark-theme .login-header h1 {
  color: #e0e0e0;
}

body.dark-theme .login-header p {
  color: #b0b0b0;
}

body.dark-theme #password-input {
  background-color: #333;
  border-color: #555;
  color: #e0e0e0;
}

body.dark-theme #password-input:focus {
  background-color: #3a3a3a;
  border-color: #3498db;
}

body.dark-theme .login-error {
  background-color: #4a2c2a;
  border-color: #6a3d3d;
  color: #ff6b6b;
}