/* Profile Page Responsive Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", Arial, sans-serif;
  background-color: #f8f9fa;
  line-height: 1.6;
  color: #333;
}

/* Navigation */
.profile-nav {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.welcome-text {
  color: #6c757d;
  font-weight: 600;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid #667eea;
  color: #667eea;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-premium {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #856404;
  font-weight: 700;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #545b62;
}

/* Profile Container */
.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Profile Header */
.profile-header {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}

.cover-image {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  padding: 2rem;
  position: relative;
}

.profile-avatar-section {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: -80px;
}

.avatar-container {
  position: relative;
  width: 150px;
  height: 150px;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid white;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.avatar-container:hover .avatar-overlay {
  opacity: 1;
}

.avatar-edit-btn {
  background: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-edit-btn:hover {
  transform: scale(1.1);
}

.profile-details {
  flex: 1;
  padding-top: 60px;
}

.profile-name {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
}

.profile-username {
  font-size: 1.2rem;
  color: #667eea;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.profile-bio {
  font-size: 1rem;
  color: #555;
  margin: 1rem 0;
  line-height: 1.6;
}

.profile-bio.placeholder {
  color: #999;
  font-style: italic;
}

.profile-website {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-website:hover {
  text-decoration: underline;
}

.profile-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 80px;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #2c3e50;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
}

/* Membership Card */
.membership-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.membership-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.membership-header h3 {
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.membership-badge {
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.membership-badge.basic {
  background: #e9ecef;
  color: #6c757d;
}

.membership-badge.premium {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #856404;
}

.membership-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.membership-features {
  display: grid;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.feature-item i {
  width: 20px;
  text-align: center;
}

.feature-item i.fa-check {
  color: #28a745;
}

.feature-item i.fa-times {
  color: #dc3545;
}

.feature-item.disabled {
  color: #6c757d;
}

.membership-action {
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 15px;
}

.upgrade-note {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.premium-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.membership-expiry {
  color: #28a745;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

/* Profile Content */
.profile-content {
  display: grid;
  gap: 2rem;
}

.profile-section {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.section-header {
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-header h3 {
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #6c757d;
  margin: 0;
}

/* Profile Form */
.profile-form {
  max-width: 800px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.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.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-input-group {
  display: flex;
  gap: 1rem;
}

.country-code {
  flex: 0 0 120px;
}

.char-count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #6c757d;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-save {
  min-width: 160px;
}

/* Modal - IMPROVED SPACING */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upgrade-modal {
  max-width: 500px;
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #e9ecef;
  text-align: center;
}

.modal-header h2 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-header p {
  color: #6c757d;
  margin: 0;
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #6c757d;
  z-index: 1;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: #333;
  background: #f8f9fa;
  border-radius: 50%;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Payment Methods - IMPROVED SPACING */
.payment-methods {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.payment-methods h4 {
  margin-bottom: 1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.payment-option {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.payment-option.active {
  border-color: #667eea;
  background: #f8f9ff;
}

.payment-option:hover {
  border-color: #667eea;
}

.payment-option i {
  font-size: 1.5rem;
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile-avatar-section {
    gap: 1.5rem;
  }

  .avatar-container {
    width: 120px;
    height: 120px;
  }

  .profile-details {
    padding-top: 40px;
  }
}

@media (max-width: 768px) {
  .profile-container {
    padding: 1rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .profile-avatar-section {
    flex-direction: column;
    text-align: center;
    margin-top: -60px;
    gap: 1rem;
  }

  .avatar-container {
    align-self: center;
  }

  .profile-details {
    padding-top: 0;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .profile-stats {
    justify-content: center;
    gap: 2rem;
  }

  .membership-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .phone-input-group {
    flex-direction: column;
  }

  .country-code {
    flex: 1;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-save {
    min-width: auto;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-info {
    padding: 1.5rem;
  }

  .profile-section {
    padding: 1.5rem;
  }

  .membership-card {
    padding: 1.5rem;
  }

  .avatar-container {
    width: 100px;
    height: 100px;
  }

  .profile-avatar {
    border-width: 4px;
  }

  .cover-image {
    height: 200px;
  }

  .profile-stats {
    gap: 1.5rem;
  }

  .stat-item {
    min-width: 70px;
  }

  .pricing-plan {
    padding: 1rem;
  }
}

/* Premium Dashboard Styles */
.premium-dashboard {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  margin-bottom: 2rem;
}

.premium-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  display: flex;
  justify-content: between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.premium-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 215, 0, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 2px solid #ffd700;
}

.premium-badge i {
  color: #ffd700;
  font-size: 1.5rem;
}

.premium-badge span {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.membership-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}

.info-item i {
  font-size: 1.5rem;
  opacity: 0.8;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.info-value {
  font-weight: 700;
  font-size: 1rem;
}

.info-value.expiring-soon {
  color: #ff6b6b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.benefit-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.consultation-benefit .benefit-icon {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.video-benefit .benefit-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.grooming-benefit .benefit-icon {
  background: linear-gradient(135deg, #ffd93d, #ff9c3d);
}

.points-benefit .benefit-icon {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.benefit-title h4 {
  margin: 0 0 0.25rem 0;
  color: #2d3748;
  font-size: 1.1rem;
}

.benefit-title p {
  margin: 0;
  color: #718096;
  font-size: 0.9rem;
}

.benefit-badge {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: auto;
}

/* Progress Bar */
.benefit-progress {
  margin-bottom: 1.5rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.progress-text {
  color: #4a5568;
  font-size: 0.9rem;
}

.progress-percentage {
  color: #667eea;
  font-weight: 600;
  font-size: 0.85rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ecdc4, #44a08d);
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* Benefit Details */
.benefit-details {
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: #718096;
  font-size: 0.9rem;
}

.detail-item i {
  width: 16px;
  text-align: center;
}

/* Benefit Status */
.benefit-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #38a169;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.benefit-status i {
  font-size: 1.1rem;
}

/* Points Display */
.points-display {
  text-align: center;
  margin-bottom: 1.5rem;
}

.current-points {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  padding: 1rem;
  border-radius: 10px;
  color: white;
}

.points-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.points-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

/* Benefit Actions */
.benefit-actions {
  display: flex;
  gap: 0.75rem;
}

.benefit-actions .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* Premium Actions */
.premium-actions {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .premium-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .membership-info {
    justify-content: center;
    gap: 1rem;
  }

  .info-item {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    text-align: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1rem;
  }

  .benefit-actions {
    flex-direction: column;
  }

  .premium-actions {
    flex-direction: column;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .premium-header {
    padding: 1rem;
  }

  .benefits-grid {
    padding: 1rem;
  }

  .benefit-card {
    padding: 1rem;
  }

  .benefit-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .benefit-badge {
    margin-left: 0;
    align-self: center;
  }
}

/* Consultation History Styles */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  border-left: 4px solid #4ecdc4;
}

.history-date {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.history-details {
  color: #4a5568;
}

.benefit-detail-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.benefit-detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.benefit-detail-item h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem 0;
  color: #2d3748;
}

.benefit-detail-item p {
  margin: 0;
  color: #718096;
  line-height: 1.5;
}

/* Geolocation Section Styles */
.form-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border-left: 4px solid #667eea;
}

.form-section h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-description {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.geolocation-section {
  margin-top: 1rem;
}

.geolocation-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.location-status {
  color: #667eea;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-status i {
  font-size: 1rem;
}

.manual-override {
  margin-top: 1rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
}

.override-note {
  display: block;
  color: #718096;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.override-note.active {
  color: #667eea;
  font-weight: 600;
}

.input-note {
  display: block;
  color: #718096;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Readonly field styling */
input[readonly] {
  background-color: #f7fafc;
  border-color: #e2e8f0;
  color: #718096;
}

input[readonly]:focus {
  border-color: #e2e8f0;
  box-shadow: none;
}

/* Responsive design */
@media (max-width: 768px) {
  .geolocation-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-section {
    padding: 1rem;
  }
}

/* Maps Preview Styles */
.maps-preview {
  margin-top: 1rem;
}

.map-container {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.address-map {
  width: 100%;
  height: 300px;
  background: #f8f9fa;
}

.map-actions {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-top: 1px solid #e2e8f0;
}

.map-actions .btn {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.no-map-container {
  background: #f8f9fa;
  border: 2px dashed #e2e8f0;
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
}

.no-map-placeholder i {
  font-size: 3rem;
  color: #cbd5e0;
  margin-bottom: 1rem;
}

.no-map-placeholder p {
  margin: 0.5rem 0;
  color: #718096;
}

.placeholder-note {
  font-size: 0.9rem;
  color: #a0aec0 !important;
}

.hidden {
  display: none !important;
}

/* Map marker info window styles */
.map-info-window {
  padding: 0.5rem;
}

.map-info-window h4 {
  margin: 0 0 0.5rem 0;
  color: #2d3748;
  font-size: 1rem;
}

.map-info-window p {
  margin: 0.25rem 0;
  color: #718096;
  font-size: 0.9rem;
}

/* Responsive maps */
@media (max-width: 768px) {
  .address-map {
    height: 250px;
  }

  .map-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .address-map {
    height: 200px;
  }

  .no-map-container {
    padding: 2rem 1rem;
  }
}

/* ============================================== */
/* PETS SECTION STYLES */
/* ============================================== */

/* Pets Section Styles */
.section-title-with-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pets-section-content {
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.pets-action-bar {
  margin-bottom: 2rem;
  text-align: left;
}

.pets-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.no-pets-message {
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px dashed #dee2e6;
}

.no-pets-icon {
  font-size: 4rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.no-pets-message h4 {
  color: #495057;
  margin-bottom: 0.5rem;
}

.no-pets-message p {
  color: #6c757d;
  margin: 0;
}
.section-title-with-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pets-section-content {
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.pets-action-bar {
  margin-bottom: 2rem;
  text-align: left;
}

.pets-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.no-pets-message {
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px dashed #dee2e6;
}

.no-pets-icon {
  font-size: 4rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.no-pets-message h4 {
  color: #495057;
  margin-bottom: 0.5rem;
}

.no-pets-message p {
  color: #6c757d;
  margin: 0;
}

/* Pet Card Styles */
.pet-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.pet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pet-card-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.pet-avatar-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.pet-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid white;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pet-avatar-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid white;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.pet-details-section {
  padding: 2rem;
  background: white;
}

.pet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pet-name-type {
  flex: 1;
}

.pet-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin: 0 0 0.25rem 0;
}

.pet-type {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.pet-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-pet-action {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
}

.btn-edit {
  background: #28a745;
  color: white;
}

.btn-edit:hover {
  background: #218838;
  transform: translateY(-2px);
}

.btn-delete {
  background: #dc3545;
  color: white;
}

.btn-delete:hover {
  background: #c82333;
  transform: translateY(-2px);
}

.pet-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pet-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pet-info-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pet-info-value {
  font-size: 0.95rem;
  color: #2c3e50;
  font-weight: 600;
}

.pet-description {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.pet-description h5 {
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

.pet-description p {
  color: #495057;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Pet Modal Styles */
.pet-modal .modal-content {
  max-width: 600px;
}

.pet-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pet-form-full {
  grid-column: 1 / -1;
}

.pet-avatar-upload {
  text-align: center;
  padding: 1rem;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pet-avatar-upload:hover {
  border-color: #667eea;
  background: #f8f9ff;
}

.pet-avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #e9ecef;
}

.pet-avatar-placeholder-small {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 2rem;
  margin: 0 auto 1rem auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pet-card-content {
    grid-template-columns: 1fr;
  }

  .pet-avatar-section {
    padding: 1.5rem;
  }

  .pet-avatar,
  .pet-avatar-placeholder {
    width: 120px;
    height: 120px;
  }

  .pet-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pet-actions {
    align-self: stretch;
    justify-content: space-between;
  }

  .pet-form-grid {
    grid-template-columns: 1fr;
  }

  .section-title-with-toggle {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .pet-info-grid {
    grid-template-columns: 1fr;
  }

  .pet-avatar,
  .pet-avatar-placeholder {
    width: 100px;
    height: 100px;
  }

  .pet-avatar-preview,
  .pet-avatar-placeholder-small {
    width: 100px;
    height: 100px;
  }
}

/* File: assets/css/profile.css - TAMBAHKAN DI BAGIAN PETS STYLES */

.avatar-note {
  display: block;
  color: #6c757d;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.pet-avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #e9ecef;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-2px);
}

/* File: assets/css/profile.css - TAMBAHKAN DI BAGIAN PETS STYLES */

.avatar-preview-container {
  position: relative;
  display: inline-block;
}

.avatar-with-remove {
  position: relative;
  display: inline-block;
}

.remove-avatar-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dc3545;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.remove-avatar-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

.pet-avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #e9ecef;
  position: relative;
}

.pet-avatar-placeholder-small {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 2rem;
  margin: 0 auto 1rem auto;
  border: 2px dashed #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pet-avatar-placeholder-small:hover {
  border-color: #667eea;
  background: #f8f9ff;
}

/* Info Badge Styles */
.info-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  border-left: 4px solid #ffd700;
}

.info-badge-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.info-badge-content i {
  font-size: 1.2rem;
  color: #ffd700;
}

.info-badge-content span {
  font-size: 0.9rem;
  line-height: 1.4;
}

.info-badge-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.info-badge-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Improved Pets Section Styles */
.pets-section-content {
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.pets-action-bar {
  margin-bottom: 2rem;
  text-align: left;
}

.pets-list {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.pet-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  margin-bottom: 1.5rem;
}

.pet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pet-card-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .pet-card-content {
    grid-template-columns: 1fr;
  }

  .info-badge {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .info-badge-close {
    align-self: flex-end;
    margin-left: 0;
  }
}

/* Tambahkan style untuk multiple pricing plans */
.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.pricing-plan {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured {
  border-color: #ffd700;
  background: linear-gradient(135deg, #fff9e6, #fff);
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-benefit-summary {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #495057;
}

.benefit-item i {
  color: #667eea;
  width: 16px;
}

/* Style untuk premium dashboard dengan multiple benefits */
.benefit-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.benefit-stat-item {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.benefit-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  display: block;
}

.benefit-stat-label {
  font-size: 0.85rem;
  color: #6c757d;
  display: block;
}

/* Benefit actions grid */
.benefit-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ============================================== */
/* UPGRADE MODAL RESPONSIVE STYLES */
/* ============================================== */

.upgrade-modal {
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-body {
  padding: 1.5rem 2rem;
}

/* Plans Selection Layout */
.plans-selection {
  margin-bottom: 2rem;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.pricing-plan {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured {
  border-color: #ffd700;
  background: linear-gradient(135deg, #fff9e6, #fff);
  transform: scale(1.02);
}

.pricing-plan.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff, #fff);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.plan-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.plan-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 0.75rem 0;
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2c3e50;
}

.period {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
}

.plan-features {
  flex: 1;
  text-align: left;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.feature-item i {
  color: #28a745;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-item.highlight i {
  color: #ffd700;
}

.feature-content {
  flex: 1;
}

.feature-title {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.1rem;
}

.feature-desc {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.3;
}

.plan-benefit-summary {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #495057;
}

.benefit-item i {
  color: #667eea;
  width: 16px;
  text-align: center;
}

.plan-action {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

/* Loading State */
.loading-plans {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

.loading-plans i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #667eea;
}

/* Selected Plan Info */
.selected-plan-info {
  background: linear-gradient(135deg, #f8f9ff, #fff);
  border: 2px solid #667eea;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selected-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.selected-plan-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.selected-plan-header h3 i {
  color: #28a745;
}

.selected-plan-details {
  margin-bottom: 1.5rem;
}

.selected-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.selected-plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.selected-plan-duration {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.selected-plan-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.selected-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #495057;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.selected-benefit-item i {
  color: #28a745;
  width: 16px;
}

.selected-plan-action {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

/* Membership Notes */
.membership-notes {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1.5rem;
}

.note-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.note-item:last-child {
  margin-bottom: 0;
}

.note-item i {
  color: #667eea;
  width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .upgrade-modal {
    width: 95%;
    margin: 5% auto;
  }

  .modal-body {
    padding: 1rem;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-plan {
    padding: 1.25rem;
  }

  .pricing-plan.featured {
    transform: none;
  }

  .plan-header h3 {
    font-size: 1.1rem;
  }

  .price {
    font-size: 1.5rem;
  }

  .selected-plan-benefits {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .pricing-plans {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-plan {
    min-height: 650px;
  }
}

/* Animation for plan selection */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

.pricing-plan.selected {
  animation: pulse 0.5s ease;
}

/* Benefits Comparison Table */
.benefits-comparison {
  max-height: 60vh;
  overflow-y: auto;
  margin: 1rem 0;
}

.comparison-table {
  width: 100%;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  background: #f8f9fa;
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: #2c3e50;
  border: 1px solid #dee2e6;
  position: sticky;
  top: 0;
}

.comparison-table td {
  padding: 0.75rem;
  text-align: center;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.comparison-table tbody tr:hover {
  background-color: #e9ecef;
}

.comparison-table .text-success {
  color: #28a745 !important;
}

.comparison-notes {
  margin-top: 1rem;
  padding: 0.5rem;
  background: #fff9e6;
  border-radius: 5px;
  font-size: 0.85rem;
}

/* Button styles untuk plan selection */
.btn-premium {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-premium.selected {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-premium-large {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-premium-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive table */
@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
  }

  .benefits-comparison {
    max-height: 50vh;
  }
}

/* File: profile.css - Tambahkan di bagian akhir atau di bagian yang sesuai */

/* Style untuk teks periode gratis */
.free-period {
  color: #ff0000 !important;
  font-weight: 700 !important;
  background: rgba(255, 0, 0, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  display: inline-block;
  margin-top: 0.5rem;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Style untuk modal upgrade */
.plan-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2c3e50;
}

.period {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
}

/* Additional benefit card styles */
.event-benefit .benefit-icon {
  background: linear-gradient(135deg, #9c88ff, #8c7ae6);
}

.giveaway-benefit .benefit-icon {
  background: linear-gradient(135deg, #ff9ff3, #f368e0);
}

.merchandise-benefit .benefit-icon {
  background: linear-gradient(135deg, #ff9f43, #ee5253);
}

.unlimited-posting-benefit .benefit-icon {
  background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

/* Post limit indicator */
.post-limit-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #667eea;
}

.post-limit-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.post-limit-count {
  background: #667eea;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.post-limit-warning {
  border-left-color: #ff6b6b;
}

.post-limit-warning .post-limit-count {
  background: #ff6b6b;
}

/* Responsive design for new benefits */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .post-limit-indicator {
    bottom: 70px;
    right: 10px;
    left: 10px;
    text-align: center;
  }
}

/* Badge peringatan untuk alamat wajib */
.info-badge.warning-badge {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  border-left: 5px solid #ff3838;
  animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

/* Field alamat wajib */
.form-group label[for="country"]:after,
.form-group label[for="address"]:after,
.form-group label[for="province"]:after,
.form-group label[for="city"]:after {
  content: " *";
  color: #ff4757;
}

/* Highlight field yang wajib diisi */
.form-group input:required:invalid,
.form-group select:required:invalid,
.form-group textarea:required:invalid {
  border-color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.05);
}

.form-group input:required:valid,
.form-group select:required:valid,
.form-group textarea:required:valid {
  border-color: #2ed573;
  background-color: rgba(46, 213, 115, 0.05);
}
