* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #651FFF;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.app-header {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  text-align: center;
  padding: 2rem;
  margin: 0;
}

.app-header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
  margin: 0.5rem 0 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

.upload-section {
  padding: 3rem 2rem;
  text-align: center;
}

.upload-area {
  border: 3px dashed #4facfe;
  border-radius: 15px;
  padding: 3rem;
  background: linear-gradient(135deg, #f8fdff 0%, #f0f8ff 100%);
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: #00f2fe;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 172, 254, 0.2);
}

.upload-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.upload-area h3 {
  color: #2c3e50;
  margin: 1rem 0 0.5rem 0;
  font-size: 1.5rem;
}

.upload-area p {
  color: #7f8c8d;
  margin-bottom: 2rem;
}

#fileInput {
  display: none;
}

.upload-btn {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

#companyView {
  padding: 2rem;
}

.company-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company-header {
  background: #651FFF;
  color: white;
  padding: 2rem;
}

.company-title {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  font-weight: 700;
}

.company-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-title {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ecf0f1;
}

.company-details-section,
.officers-section,
.pscs-section {
  padding: 0 2rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.details-grid p {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 0;
  border-left: 4px solid #4facfe;
}

.details-grid p.save-note {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-left: 4px solid #f39c12;
  font-style: italic;
}

.data-list {
  background: transparent;
  padding: 0;
  list-style: none;
  margin: 0 0 2rem 0;
}

.data-list li {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 5px solid #4facfe;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.data-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border-left-color: #00f2fe;
}

.officer-item p, .psc-item p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.officer-item p strong, .psc-item p strong {
  color: #2c3e50;
  min-width: 140px;
  font-weight: 600;
  margin-right: 1rem;
}

.officer-item, .psc-item {
  border-radius: 8px;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  background: #f8f9fa;
}

.nav-btn {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
  flex: 1;
  max-width: 200px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

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

.hidden {
  display: none;
}

/* Login Section Styles */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.login-container {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.login-header h2 {
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
}

.login-header p {
  color: #7f8c8d;
  margin: 0;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.login-form input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form input:focus {
  outline: none;
  border-color: #4facfe;
}

.login-btn {
  width: 100%;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

#searchSection {
  padding: 2rem;
  background: linear-gradient(135deg, #f8fdff 0%, #f0f8ff 100%);
  border-bottom: 1px solid #e3f2fd;
}

.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.2rem;
  color: #4facfe;
  z-index: 1;
}

#searchInput {
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e3f2fd;
  border-radius: 50px;
  width: 350px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.1);
}

#searchInput:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.2);
}

.counter-badge {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.data-list li:last-child {
  margin-bottom: 0;
}

/* Message notifications */
.message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

.message-error {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.message-info {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

/* Google search button styles */
.company-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.google-search-btn {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.google-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

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

/* Search buttons container */
.search-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.owner-search {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.owner-search:hover {
  box-shadow: 0 6px 20px rgba(238, 90, 82, 0.4);
}

.save-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.save-btn:hover {
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

.delete-btn {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.delete-btn:hover {
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
}

.contact-btn {
  background: linear-gradient(135deg, #6f42c1 0%, #5a2d91 100%) !important;
}

.contact-btn:hover {
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4) !important;
}

/* Jump section styles */
.jump-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#jumpInput {
  width: 60px;
  padding: 0.8rem 0.5rem;
  border: 2px solid #e3f2fd;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  background: white;
}

#jumpInput:focus {
  outline: none;
  border-color: #4facfe;
}

.jump-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  min-width: 80px;
}

.jump-btn:hover {
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Enhanced UI Styles */
.keyboard-hint {
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  margin-top: 1rem;
  border-radius: 12px;
}

.hint-text {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* Company badge styles */
.company-badge {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.company-status {
  background: #28a745;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.company-id {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: monospace;
}

.company-position {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Header stats styles */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  font-size: 3rem;
  background: rgba(255,255,255,0.2);
  padding: 1rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.logo-text h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 300;
  display: block;
  margin-top: 0.2rem;
}

.header-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  background: rgba(255,255,255,0.15);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Choice section styles */
.choice-section {
  padding: 4rem 2rem;
  text-align: center;
}

.choice-container h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.choice-container p {
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.choice-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.choice-btn {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: none;
  padding: 2rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.choice-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(79, 172, 254, 0.4);
}

.choice-icon {
  font-size: 3rem;
}

.choice-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.choice-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Menu button and dropdown styles */
.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.menu-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.menu-btn:hover {
  background: rgba(255,255,255,0.3);
}

.menu-icon {
  font-size: 1.2rem;
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  min-width: 200px;
  z-index: 1000;
  margin-top: 0.5rem;
}

.menu-item {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #2c3e50;
}

.menu-item:hover {
  background: #f8f9fa;
}

.menu-item:first-child {
  border-radius: 12px 12px 0 0;
}

.menu-item:last-child {
  border-radius: 0 0 12px 12px;
}

.menu-item-icon {
  font-size: 1.1rem;
}

.menu-item-text {
  font-weight: 500;
}

/* Company List View Styles */
#companyListView {
  padding: 2rem;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #ecf0f1;
}

.list-header h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin: 0;
}

.export-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.export-btn:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.back-btn {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.company-list {
  display: grid;
  gap: 1rem;
}

.company-row {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.company-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-color: #4facfe;
}

.company-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.company-row-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.company-row-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.company-row-id {
  background: #4facfe;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: monospace;
}

.contact-status {
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.contact-status.contacted {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-status.not-contacted {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.company-row-details {
  color: #6c757d;
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.company-row-detail {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  margin-top: 2rem;
}

.page-btn {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.page-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.page-info {
  background: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  color: #2c3e50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Contact Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border-radius: 15px 15px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4facfe;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .container {
    margin: 10px;
    border-radius: 15px;
  }
  
  .app-header h1 {
    font-size: 2rem;
  }
  
  .upload-area {
    padding: 2rem 1rem;
  }
  
  #searchInput {
    width: 280px;
  }
  
  .search-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-buttons {
    flex-direction: column;
  }
  
  .nav-btn {
    max-width: none;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }

  .company-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-buttons {
    width: 100%;
  }
  
  .google-search-btn {
    flex: 1;
    min-width: 120px;
  }

  .jump-section {
    order: 2;
    justify-content: center;
  }

  .choice-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .choice-btn {
    width: 100%;
    max-width: 300px;
  }

  .list-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .company-row-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .company-row-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pagination {
    flex-direction: column;
    gap: 1rem;
  }
  
  .page-btn {
    width: 100%;
    justify-content: center;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .form-actions {
    flex-direction: column;
  }
}