/* Luxury Hotel Profile Page - Premium Design */

.premium-profile {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Elegant Header Section */
.profile-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 0 8rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagons" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,2 52,17 52,43 30,58 8,43 8,17" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagons)"/></svg>'),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0.8;
}

/* Luxury Avatar Section */
.profile-avatar {
  text-align: center;
  position: relative;
  z-index: 2;
}

.avatar-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 12px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 4px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s ease;
}

.avatar-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.2), 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.avatar-circle i {
  font-size: 5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loyalty-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
}

.loyalty-badge .badge {
  padding: 0.6rem 1rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.loyalty-bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
  color: white;
}
.loyalty-silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
  color: #333;
}
.loyalty-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  color: #333;
}
.loyalty-platinum {
  background: linear-gradient(135deg, #e5e4e2 0%, #d3d3d3 100%);
  color: #333;
}

/* Profile Info Styling */
.profile-info {
  position: relative;
  z-index: 2;
}

.profile-name {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-email {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.profile-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Luxury Profile Content */
.profile-content {
  margin-top: -4rem;
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}

.profile-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08), 0 15px 40px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), 0 20px 50px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.card-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.card-title i {
  color: #667eea;
  margin-right: 0.75rem;
}

.card-subtitle {
  color: #6c757d;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}

.card-body {
  padding: 2.5rem;
}

/* Luxury Form Elements */
.premium-form .form-floating {
  margin-bottom: 2rem;
  position: relative;
}

.premium-form .form-floating > .form-control,
.premium-form .form-floating > .form-select {
  border: 2px solid rgba(102, 126, 234, 0.1);
  border-radius: 15px;
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.premium-form .form-floating > .form-control:focus,
.premium-form .form-floating > .form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15), 0 8px 25px rgba(102, 126, 234, 0.1);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.premium-form .form-floating > .form-control:hover,
.premium-form .form-floating > .form-select:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.premium-form .form-floating > label {
  color: #6c757d;
  font-weight: 600;
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.premium-form .form-floating > label i {
  color: #667eea;
  margin-right: 0.5rem;
}

.premium-form .form-floating > .form-control:focus ~ label,
.premium-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.premium-form .form-floating > .form-select:focus ~ label,
.premium-form .form-floating > .form-select:not([value=""]) ~ label {
  color: #667eea;
  font-weight: 700;
}

.form-text {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  color: #6c757d;
  font-weight: 500;
}

.form-text i {
  color: #667eea;
  margin-right: 0.5rem;
}

/* Luxury Sidebar */
.profile-sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 15px 30px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  letter-spacing: -0.2px;
}

.sidebar-title i {
  color: #667eea;
  margin-right: 0.75rem;
}

.quick-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.quick-stat:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateX(5px);
}

.quick-stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

.quick-stat-value {
  font-weight: 700;
  font-size: 1rem;
}

/* Luxury Action Buttons */
.profile-actions .btn {
  border-radius: 15px;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.profile-actions .btn:hover {
  transform: translateY(-3px);
}

.btn-save {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 1.25rem 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3), 0 4px 15px rgba(102, 126, 234, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-save:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4), 0 6px 20px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4c93 100%);
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-info {
  border: 2px solid;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Premium Alert */
.premium-alert {
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-header {
    padding: 3rem 0 5rem;
  }

  .profile-stats {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 100px;
  }

  .profile-name {
    font-size: 2.2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .avatar-circle {
    width: 120px;
    height: 120px;
  }

  .avatar-circle i {
    font-size: 4rem;
  }

  .card-header,
  .card-body {
    padding: 2rem;
  }

  .profile-content {
    margin-top: -3rem;
  }
}

/* Elegant Animations */
.profile-card {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-card {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Luxury Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a6fd8, #6a4c93);
}
