/* Pattern Right Modal Styles */
.pattern-right-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pattern-right-modal-overlay.show {
  display: block;
  opacity: 1;
}

.pattern-right-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90%;
  max-width: 400px;
  height: 100%;
  background-color: #fff;
  z-index: 1051;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.pattern-right-modal.show {
  right: 0;
}

.pattern-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pattern-modal-title {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.pattern-modal-title i {
  margin-right: 10px;
  color: #666;
}

.pattern-modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

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

.pattern-modal-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.pattern-modal-subtitle {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.pattern-grid-modal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.pattern-card-modal {
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.pattern-card-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pattern-card-modal:hover::before {
  opacity: 1;
}

.pattern-card-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pattern-card-modal.active {
  border-color: #007bff;
  background: #f0f7ff;
}

.pattern-preview-modal {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.pattern-name-modal {
  font-size: 0.9rem;
  color: #333;
  display: block;
  margin-top: 8px;
}

.pattern-modal-apply {
  width: 100%;
  padding: 15px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  transition: all 0.2s ease;
}

.pattern-modal-apply:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.pattern-modal-apply:active {
  transform: translateY(0);
}

/* Pattern preview styles */
.pattern-preview-modal.pattern-square { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-preview-modal.pattern-dots { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='16' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-preview-modal.pattern-rounded { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='8' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-preview-modal.pattern-extra-rounded { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='16' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-preview-modal.pattern-classy { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40h-40z' fill='%23007bff'/%3E%3Cpath d='M8 8h24v24h-24z' fill='white'/%3E%3C/svg%3E"); }
.pattern-preview-modal.pattern-circle { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-preview-modal.pattern-heart { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 10c-2-4-7-4-9-2-2 2-2 6 0 8l9 9 9-9c2-2 2-6 0-8-2-2-7-2-9 2z' fill='%23007bff'/%3E%3C/svg%3E"); }

/* Media Queries */
@media (max-width: 768px) {
  .pattern-right-modal {
    width: 100%;
    max-width: none;
  }
  
  .pattern-grid-modal {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .pattern-card-modal {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .pattern-grid-modal {
    gap: 10px;
  }
  
  .pattern-card-modal {
    padding: 10px;
  }
  
  .pattern-preview-modal {
    margin-bottom: 8px;
  }
  
  .pattern-name-modal {
    font-size: 0.8rem;
  }
  
  .pattern-modal-apply {
    padding: 12px;
  }
}

@media (max-width: 375px) {
  .pattern-grid-modal {
    gap: 8px;
  }
  
  .pattern-card-modal {
    padding: 8px;
  }
  
  .pattern-name-modal {
    font-size: 0.75rem;
  }
  
  .pattern-modal-header {
    padding: 15px;
  }
  
  .pattern-modal-body {
    padding: 15px;
  }
}

/* Mobile Customization Right Modal Styles */
.mobile-customization-right-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
  visibility: hidden;
  pointer-events: none;
}

.mobile-customization-right-modal-overlay.show {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-customization-right-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 1051;
  transition: all 0.3s ease;
  display: none;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .mobile-customization-right-modal {
    display: none;
  }
  
  .mobile-customization-right-modal.show {
    display: flex;
    transform: translateX(0);
    right: 0;
    opacity: 1;
    visibility: visible;
  }
}

.mobile-customization-right-modal.show {
  transform: translateX(0);
  display: flex;
  right: 0;
  opacity: 1;
  visibility: visible;
}

.mobile-custom-right-header {
  padding: 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.mobile-custom-right-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.mobile-custom-right-title i {
  color: #007bff;
}

.mobile-custom-right-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mobile-custom-right-close:hover {
  background-color: #f5f5f5;
}

.mobile-custom-right-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.mobile-custom-right-subtitle {
  color: #666;
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.mobile-custom-right-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-custom-right-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.mobile-custom-right-option:hover {
  border-color: #007bff;
  background: #f8f9fa;
  transform: translateY(-1px);
}

.mobile-custom-right-option:active {
  transform: translateY(0);
}

.mobile-custom-right-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-right-radiomark {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-custom-right-option input[type="radio"]:checked + .custom-right-radiomark {
  border-color: #007bff;
  background: #007bff;
}

.custom-right-radiomark i {
  color: #fff;
  font-size: 10px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.mobile-custom-right-option input[type="radio"]:checked + .custom-right-radiomark i {
  opacity: 1;
  transform: scale(1);
}

.custom-right-option-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.custom-right-option-icon {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #007bff;
  transition: all 0.2s ease;
}

.custom-right-option-info {
  flex: 1;
}

.custom-right-option-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.custom-right-option-info p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #666;
}

/* Media Queries */
@media (max-width: 768px) {
  .mobile-customization-right-modal {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .mobile-custom-right-option {
    padding: 14px;
  }
  
  .custom-right-option-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .custom-right-option-info h4 {
    font-size: 0.95rem;
  }
  
  .custom-right-option-info p {
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .mobile-custom-right-header,
  .mobile-custom-right-body {
    padding: 14px;
  }
  
  .mobile-custom-right-option {
    padding: 12px;
    gap: 10px;
  }
  
  .custom-right-option-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* Pattern Right Modal Styles */
.mobile-pattern-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-pattern-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-pattern-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90%;
  max-width: 400px;
  height: 100%;
  background-color: #fff;
  z-index: 1051;
  transition: right 0.3s ease-in-out;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-pattern-overlay.show .mobile-pattern-modal {
  right: 0;
}

.mobile-pattern-header {
  padding: 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.mobile-pattern-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.mobile-pattern-title i {
  color: #007bff;
}

.mobile-pattern-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mobile-pattern-close:hover {
  background-color: #f5f5f5;
}

.mobile-pattern-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #fff;
}

.mobile-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mobile-pattern-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-pattern-option.active {
  border-color: #007bff;
  background: #f8f9fa;
}

.mobile-pattern-preview {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-pattern-name {
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}

.mobile-pattern-footer {
  padding: 16px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
  background: #fff;
}

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

.mobile-pattern-btn.secondary {
  background: #f5f5f5;
  color: #666;
}

.mobile-pattern-btn.secondary:hover {
  background: #e9ecef;
}

.mobile-pattern-btn.primary {
  background: #007bff;
  color: #fff;
}

.mobile-pattern-btn.primary:hover {
  background: #0056b3;
}

/* Pattern Preview Styles */
.pattern-square { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-dots { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='16' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-rounded { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='8' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-extra-rounded { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='16' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-classy { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40h-40z' fill='%23007bff'/%3E%3Cpath d='M8 8h24v24h-24z' fill='white'/%3E%3C/svg%3E"); }
.pattern-circle { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-smooth { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='12' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-liquid { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0C31.05 0 40 8.95 40 20C40 31.05 31.05 40 20 40C8.95 40 0 31.05 0 20C0 8.95 8.95 0 20 0ZM28 12C28 8.69 25.31 6 22 6C18.69 6 16 8.69 16 12C16 15.31 18.69 18 22 18C25.31 18 28 15.31 28 12Z' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-diamond { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-wavy { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q10 10 20 20 Q30 30 40 20 L40 40 Q30 30 20 40 Q10 50 0 40 Z' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-hexagon { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L35 10L35 30L20 40L5 30L5 10Z' fill='%23007bff'/%3E%3C/svg%3E"); }
.pattern-gradient { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%); border-radius: 8px; }
.pattern-heart { background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 10c-2-4-7-4-9-2-2 2-2 6 0 8l9 9 9-9c2-2 2-6 0-8-2-2-7-2-9 2z' fill='%23007bff'/%3E%3C/svg%3E"); }

/* Media Queries */
@media (max-width: 768px) {
  .mobile-pattern-modal {
    width: 100%;
    max-width: none;
  }
  
  .mobile-pattern-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .mobile-pattern-header,
  .mobile-pattern-body,
  .mobile-pattern-footer {
    padding: 12px;
  }
  
  .mobile-pattern-option {
    padding: 10px;
  }
  
  .mobile-pattern-name {
    font-size: 0.85rem;
  }
  
  .mobile-pattern-btn {
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* Logo Modal Styles */
.mobile-logo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-logo-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-logo-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1200px;
  height: 400px;
  background-color: #fff;
  z-index: 1051;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-logo-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.mobile-logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.mobile-logo-title i {
  color: #007bff;
}

.mobile-logo-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mobile-logo-close:hover {
  background-color: #f5f5f5;
}

.mobile-logo-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.mobile-logo-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  background: #f8f9fa;
  border-right: 1px solid #eee;
}

.mobile-logo-preview-section {
  width: 300px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-logo-preview-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.mobile-logo-qr-preview {
  flex: 1;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mobile-logo-qr-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mobile-logo-settings {
  padding: 20px;
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-logo-setting-group {
  margin-bottom: 15px;
}

.mobile-logo-setting-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.mobile-logo-setting-value {
  color: #333;
  font-weight: 500;
}

.mobile-logo-slider {
  width: 100%;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
}

.mobile-logo-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #007bff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-logo-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.mobile-logo-option {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mobile-logo-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mobile-logo-option.active {
  border-color: #007bff;
  background: #f0f7ff;
}

.mobile-logo-preview {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mobile-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mobile-logo-name {
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}

.mobile-logo-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
  background: #fff;
}

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

.mobile-logo-btn.secondary {
  background: #f5f5f5;
  color: #666;
}

.mobile-logo-btn.secondary:hover {
  background: #e9ecef;
}

.mobile-logo-btn.primary {
  background: #007bff;
  color: #fff;
}

.mobile-logo-btn.primary:hover {
  background: #0056b3;
}

/* Hide logo modal in mobile view */
@media (max-width: 768px) {
  .mobile-logo-overlay {
    display: none !important;
  }
  
  .mobile-logo-modal {
    display: none !important;
  }
} 