:root {
  --primary: #7b35ab;
  --primary-hover: #6a2d94;
  --dark-blue: #0a2540;
  --success: #28a745;
  --danger: #dc3545;
  --light-bg: #f8f9fa;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.info-item i {
  margin-right: 8px;
}

.info-label {
  width: 160px;
  font-weight: bold;
}
/* Çevrimiçi durumu için yeşil renk */
.status-indicator.online {
  background: green;
}

/* Çevrimdışı durumu için kırmızı renk */
.status-indicator.offline {
  background: red !important;
}

.info-separator {
  margin: 0 6px;
}

.info-value {
  flex: 1;
}

.btn-success.btn-sm {
 background: greenyellow; 
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex
;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Profile Page Styles */
.profile-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* Combined Navbar and Header */
.profile-navbar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.profile-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.pexels.com/photos/1323550/pexels-photo-1323550.jpeg")
    center/cover;
  opacity: 0.3;
  z-index: 1;
}

.profile-navbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 154, 158, 0.8) 0%,
    rgba(254, 207, 239, 0.8) 50%,
    rgba(255, 206, 84, 0.8) 100%
  );
  z-index: 2;
}

/* Top Navigation */
.top-nav {
  position: relative;
  z-index: 10;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-nav .navbar-brand img {
  filter: brightness(0) invert(1);
}

.top-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 8px 16px !important;
}

.top-nav .nav-link:hover {
  color: white !important;
}

.top-nav .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white !important;
}

.top-nav .btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
}


/* Profile Header Content */
.profile-header-content {
 /* margin-top: 240px;*/
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 0 40px;
}

.profile-avatar {
  width: 300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid white;
  margin-right: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  position: relative;
  top: px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details {
  flex: 1;
  margin-right: 30px;
}

.profile-details h2 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.profile-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}
.photo-overlay {
  pointer-events: none;
}
.profile-status-and-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.status-indicator {
  width: 12px;
  height: 12px;
  background: #4caf50;
  border-radius: 50%;
  margin-right: 8px;
  border: 2px solid white;
}

.status-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}
.profile-actions {
  display: flex;
  gap: 15px;
  align-items: end;
  margin-left: auto;
  margin-right: 100px;
}

.btn-action {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  color: white;
  /*min-width: 160px;*/
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

.btn-add-friend {
  background: linear-gradient(135deg, #e91e63, #ad1457);
}

.btn-add-friend:hover {
  background: linear-gradient(135deg, #c2185b, #880e4f);
}

.btn-message {
  background: linear-gradient(135deg, #2196f3, #1565c0);
}

.btn-message:hover {
  background: linear-gradient(135deg, #1976d2, #0d47a1);
}

.btn-private {
  background: linear-gradient(135deg, #ff9800, #e65100);
}

.btn-private:hover {
  background: linear-gradient(135deg, #f57c00, #bf360c);
}

/* Profile Navigation */
.profile-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 5;
  margin-bottom: 0;
}

.profile-nav .nav-tabs {
  border-bottom: none;
}

.profile-nav .nav-link {
  color: #666;
  border: none;
  padding: 15px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
}

.profile-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(123, 53, 171, 0.05);
  border-radius: 10px 10px 0 0;
}

.profile-nav .nav-link.active {
  color: var(--primary);
  background: rgba(123, 53, 171, 0.1);
  border-radius: 10px 10px 0 0;
  font-weight: 600;
}

 .profile-nav {
        height: 100px !important;
        display: flex;
        align-items: center;
      }

      .profile-nav .nav-tabs {
        margin-bottom: 0;
      }
      
.profile-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.profile-nav .badge {
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
}

/* Tab Content */
.tab-content {
  background: transparent;
  margin-top: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Profile Info Section */
.profile-info-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.profile-info-section h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(123, 53, 171, 0.05);
  border-radius: 8px;
}

.info-item i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 25px;
}

.info-item span {
  color: #333;
  font-weight: 500;
}

/* Friends Grid */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.friend-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.friend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(123, 53, 171, 0.15);
}

.friend-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid var(--primary);
}

.friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friend-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.friend-title {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.friend-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-friend-action {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-friend-action:hover {
  background: var(--primary);
  color: white;
}

/* Groups Grid */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.group-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(123, 53, 171, 0.15);
}

.group-image {
  height: 150px;
  overflow: hidden;
  position: relative;
}

.group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-info {
  padding: 20px;
}

.group-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.group-members {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.btn-join-group {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-join-group:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Photos Grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.photo-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.photo-item:hover {
  transform: scale(1.05);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay i {
  color: white;
  font-size: 2rem;
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.media-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.media-content {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.media-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-info {
  padding: 15px;
}

.media-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.media-date {
  color: #666;
  font-size: 0.9rem;
}

/* Main Content Area */
.container .row {
  background: transparent;
}

/* Post Cards - Yeni düzen */
.post-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.post-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.post-user-info h6 {
  margin: 0;
  font-weight: 600;
  color: #333;
}

.post-time,
.post-visibility {
  font-size: 0.85rem;
  color: #666;
}

/* Post Content - Yeni düzen: Sol resim, sağ yazı */
.post-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 15px;
}

.post-image-container {
  flex-shrink: 0;
  width: 200px;
}

.post-image {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-text-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.post-text-container p {
  color: #333;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.post-content textarea {
  border: none;
  resize: none;
  font-size: 1rem;
  padding: 0;
  background: transparent;
  width: 100%;
}

.post-content textarea:focus {
  outline: none;
  box-shadow: none;
}

/* Çoklu resim düzeni - sadece resim varsa */
.post-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
  border-radius: 10px;
  overflow: hidden;
}

.post-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.btn-post-action {
  background: none;
  border: none;
  color: #666;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-post-action:hover {
  background: #f5f5f5;
  color: var(--primary);
}

.post-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #666;
}

.post-interactions {
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
}

.btn-interaction {
  background: none;
  border: none;
  color: #666;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-interaction:hover {
  background: #f5f5f5;
  color: var(--primary);
}

.btn-load-more {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-load-more:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Sidebar Cards */
.sidebar-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-card h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
}

.sidebar-card .text-muted {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.sidebar-card .form-select {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  font-size: 0.9rem;
}

.sidebar-card .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  padding: 12px;
}

/* Suggestions Grid */
.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.suggestions-grid-extended {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.suggestion-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.suggestion-item:hover {
  transform: scale(1.05);
}

.suggestion-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Group Banner */
.group-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 120px;
}

.group-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 15px;
  text-align: center;
}

.group-overlay h6 {
  margin: 0 0 10px 0;
  font-weight: 600;
}

.group-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
}

/* Appointment Styles */
.appointment-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.appointment-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.appointment-header h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.appointment-info {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.appointment-info h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.available-times {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.available-times h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.time-slot {
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot.available {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid #4caf50;
}

.time-slot.available:hover {
  background: #4caf50;
  color: white;
}

.time-slot.occupied {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid #f44336;
  cursor: not-allowed;
}

/* Comment Modal Styles */
.comment-bubble {
  background: rgba(123, 53, 171, 0.05);
  border-radius: 15px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.comment-bubble strong {
  color: var(--primary);
  font-weight: 600;
}

.comment-bubble p {
  margin-bottom: 5px;
  color: #333;
  line-height: 1.4;
}

.comment-actions .btn {
  color: #666;
  font-size: 0.85rem;
  text-decoration: none;
}

.comment-actions .btn:hover {
  color: var(--primary);
}

.comment-tools .btn {
  border-color: rgba(123, 53, 171, 0.3);
  color: var(--primary);
}

.comment-tools .btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.comment-privacy .form-select {
  border-color: rgba(123, 53, 171, 0.3);
  color: var(--primary);
}

.comment-privacy .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(123, 53, 171, 0.25);
}

.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid rgba(123, 53, 171, 0.1);
  background: rgba(123, 53, 171, 0.05);
}

.modal-title {
  color: var(--primary);
  font-weight: 600;
}

.modal-footer {
  border-top: 1px solid rgba(123, 53, 171, 0.1);
  background: rgba(123, 53, 171, 0.02);
}

.post-preview {
  background: rgba(123, 53, 171, 0.05);
  border-radius: 10px;
  padding: 15px;
  border-left: 4px solid var(--primary);
}

.comments-section {
  max-height: 300px;
  overflow-y: auto;
}

.comments-section::-webkit-scrollbar {
  width: 6px;
}

.comments-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.comments-section::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.comments-section::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-container {
  }

  .profile-navbar {
    min-height: 300px;
  }

  .profile-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0;
  }

  .profile-avatar {
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid white;
    margin-right: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    position: relative;
    top: px;
  }

  .profile-details {
    margin-right: 0;
    margin-bottom: 20px;
  }

.profile-title {
    
    top: 0px !important;
}
  .profile-details h2 {
    font-size: 2.2rem;
    top: 0px !important;
  }

  .profile-status-and-actions {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .profile-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-action {
    min-width: 140px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .profile-nav .nav-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .post-card {
    padding: 15px;
  }

  .sidebar-card {
    padding: 15px;
  }

  .suggestions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .suggestions-grid-extended {
    grid-template-columns: repeat(4, 1fr);
  }

  .post-interactions {
    flex-direction: row;
    gap: 10px;
  }

  .btn-interaction {
    text-align: center;
  }

  .friends-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .groups-grid {
    grid-template-columns: 1fr;
  }

      .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobilde post düzeni dikey olsun */
  .post-content {
    flex-direction: column;
    gap: 15px;
  }

  .post-image-container {
    width: 100%;
  }

  .post-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .profile-container {
  }

  .profile-navbar {
    min-height: 280px;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
   /* top: 20px;*/
  }

  .profile-details h2 {
    font-size: 1.8rem;
  }

  .post-images {
    grid-template-columns: 1fr;
  }

  .post-images img {
    height: 250px;
  }

  .time-slots {
    grid-template-columns: 1fr;
  }
}

.languages-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.languages-table th,
.languages-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.languages-table th {
  background: rgba(123, 53, 171, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.languages-table tr:hover {
  background: rgba(123, 53, 171, 0.05);
}

.language-level {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

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

.level-good {
  color: #4caf50;
}

.level-medium {
  color: #ff9800;
}

.level-poor {
  color: #f44336;
}

/* Education Table */
.education-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.education-table th,
.education-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.education-table th {
  background: rgba(123, 53, 171, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.education-table tr:hover {
  background: rgba(123, 53, 171, 0.05);
}

/* Certificates Table */
.certificates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.certificates-table th,
.certificates-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.certificates-table th {
  background: rgba(123, 53, 171, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.certificates-table tr:hover {
  background: rgba(123, 53, 171, 0.05);
}

/* Languages Table */
.languages-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.languages-table th,
.languages-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.languages-table th {
  background: rgba(123, 53, 171, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.languages-table tr:hover {
  background: rgba(123, 53, 171, 0.05);
}

.language-level {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

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

.level-good {
  color: #4caf50;
}

.level-medium {
  color: #ff9800;
}

.level-poor {
  color: #f44336;
}

/* Appointment Cards */
.appointment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.appointment-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.appointment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(123, 53, 171, 0.15);
}

.appointment-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.appointment-card h6 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.appointment-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.btn-appointment {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-appointment:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
}

/* Experience Table */
.experience-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.experience-table th,
.experience-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.experience-table th {
  background: rgba(123, 53, 171, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.experience-table tr:hover {
  background: rgba(123, 53, 171, 0.05);
}
.table-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Buton düzeni için örnek */
#eventTable .btn {
  margin: 2px 0;
  width: 100%;
}
.action-buttons {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  font-size: 1rem;
  color: #555;
  transition: background 0.2s;
}

.btn-icon:hover {
  background: #f0f0f0;
}

.btn-icon.edit i {
  color: #6f42c1;
}

.btn-icon.delete i {
  color: #dc3545;
}

.btn-icon.view i {
  color: #17a2b8;
}
.datatable-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  .admin-package-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .admin-package-table th,
  .admin-package-table td {
    padding: 12px 10px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
  }
  
  .admin-package-table thead {
    background-color: #f2f2f2;
  }
  
  .admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 5px;
  }
  
  .edit-btn, .delete-btn {
    padding: 6px 10px;
    margin: 2px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
  }
  
  .edit-btn {
    background-color: #ffc107;
    color: white;
  }
  
  .delete-btn {
    background-color: #dc3545;
    color: white;
  }
  

  .admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  
  .add-package-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .add-package-btn i {
    margin-right: 5px;
  }
  
  .add-package-btn:hover {
    background-color: #218838;
  }

  .earnings-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .earnings-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(123, 53, 171, 0.15);
  }

  .earnings-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
      135deg,
      var(--primary),
      var(--primary-hover)
    );
  }

  .earnings-card.daily::before {
    background: linear-gradient(135deg, #4caf50, #45a049);
  }

  .earnings-card.monthly::before {
    background: linear-gradient(135deg, #2196f3, #1976d2);
  }

  .earnings-card.quarterly::before {
    background: linear-gradient(135deg, #ff9800, #f57c00);
  }

  .earnings-card.yearly::before {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  }

  .earnings-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
  }

  .earnings-card.daily .earnings-icon {
    background: linear-gradient(135deg, #4caf50, #45a049);
  }

  .earnings-card.monthly .earnings-icon {
    background: linear-gradient(135deg, #2196f3, #1976d2);
  }

  .earnings-card.quarterly .earnings-icon {
    background: linear-gradient(135deg, #ff9800, #f57c00);
  }

  .earnings-card.yearly .earnings-icon {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  }

  .earnings-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
  }

  .consultation-type-main.placeholderr {
    height: 32px; /* orijinal boyuta göre sabitle */
    background: rgba(123, 53, 171, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(123, 53, 171, 0.2);
  }

  .odenmis-box {
    margin-bottom: 1rem;
  }

  .odenmis-ek {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 12px 20px;
    background-color: #f1f3f5;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .odenmis-ek div {
    min-width: 120px;
    white-space: nowrap;
  }

  .odenmis-ek strong {
    color: #343a40;
    margin-right: 4px;
  }


  #eventTable td {
    vertical-align: middle;
    white-space: nowrap;
  }
  
  #eventTable td:nth-child(2) {
    max-width: 250px;
    white-space: normal;
  }
  
  .table-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
  }
  
  .action-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
  }
  
  .btn-icon {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
  }
  
  .btn-icon:hover {
    color: #6a0dad;
  }

  .custom-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
  }
  
  .custom-modal-content {
    position: relative;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    max-width: 720px;
    width: 90%;
    max-height: 80vh;
    padding: 0;
  }
  
  .custom-modal-content video,
  .custom-modal-content img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .custom-modal-close {
    position: absolute;
    top: 10px;
    right: 16px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
  }
  .media-grid {
    /*display: flex;*/
    flex-wrap: wrap;
    gap: 16px;
  }

  .media-item {
    flex: 1 1 calc(50% - 16px);
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }

  .media-content {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .media-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .media-info {
    padding: 8px 12px;
  }

  .media-title {
    font-weight: bold;
  }

  .media-date {
    font-size: 0.9em;
    color: #666;
  }

  .profile-info-section-event {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    justify-content: start; /* ÖNEMLİ: Ortalamayı engeller, soldan başlatır */
  }

  /* Kart Ayarları */
  .event-card {
    background: var(--event-card-bg, #fff);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.15);
    border: 2px solid rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.2);
  }

  .event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
  }

  .expert-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .event-content {
    padding: 25px;
    background: #fff;
  }

  .event-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .event-details {
    margin-bottom: 20px;
  }

  .detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  .detail-row i {
    color: #888;
    width: 20px;
    margin-right: 10px;
  }

  .label {
    color: #888;
    font-weight: 500;
    min-width: 80px;
  }

  .value {
    color: #333;
    font-weight: 600;
  }

  .event-datetime {
    background: rgba(106, 13, 173, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
  }
  .datetime-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }

  .datetime-row:last-child {
    margin-bottom: 0;
  }

  .datetime-row i {
    color: var(--primary, #6a0dad);
    width: 20px;
    margin-right: 10px;
    font-size: 1.1rem;
  }

  .datetime-value {
    color: var(--primary, #6a0dad);
    font-weight: 600;
    font-size: 1rem;
  }

  /* Geri Sayım */
  .countdown-section {
    background: rgba(220, 53, 69, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
  }

  .countdown-title {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
  }

  .countdown-item {
    text-align: center;
  }

  .countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    line-height: 1;
  }

  .countdown-label {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
  }

  .event-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
  }

  .event-price,
  .event-capacity {
    text-align: center;
    border-radius: 12px;
    padding: 15px;
  }

  .event-price {
    background: rgba(40, 167, 69, 0.1);
  }

  .price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 5px;
  }

  .price-label {
    color: #888;
    font-size: 0.9rem;
  }

  .event-capacity {
    background: rgba(23, 162, 184, 0.1);
  }

  .capacity-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #17a2b8;
    margin-bottom: 5px;
  }

  .capacity-label {
    color: #888;
    font-size: 0.9rem;
  }

  .join-button {
    width: 100%;
    padding: 15px;
    background: var(--primary, #6a0dad);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .join-button:hover {
    background: var(--primary-hover, #581c87);
    transform: translateY(-2px);
  }

  .expert-photo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
  }
  .package-option.selected {
    background-color: #f1f1f1;
    border: 2px solid #007bff !important;
  }
  .package-option:hover {
    cursor: pointer;
    background-color: #f8f9fa;
  }
  .time-option.active {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
  }
  
  @media (max-width: 768px) {
    .nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    .info-label {
        margin-right: -81px !important;
    margin-right: -60px !important;
    width 1px !important;

}

.profile-nav {
    height: 150px !important;
}


}




.ticket-container {
    position: fixed; /* Ekrana sabitle */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Koyu arkaplan */
    backdrop-filter: blur(4px); /* Blur efekti */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Üstte tutmak için yüksek z-index */
}


.ticket-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}


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

.ticket-header {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.ticket-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

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

.ticket-content {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
    background: #f8fafc;
}

.ticket-message-container {
    margin-bottom: 24px;
    animation: messageSlideIn 0.4s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ticket-message-container.ticket-user-message {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ticket-message-container.ticket-user-message .ticket-message-bubble {
    margin-left: 60px;
    margin-right: 0;
}

.ticket-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}

.ticket-message-container.ticket-user-message .ticket-user-info {
    flex-direction: row-reverse;
}

.ticket-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.ticket-avatar.ticket-support {
    background: linear-gradient(135deg, #10B981, #059669);
}

.ticket-avatar.ticket-user {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.ticket-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ticket-username {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.ticket-timestamp {
    color: #6b7280;
    font-size: 12px;
}

.ticket-message-bubble {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    margin-right: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ticket-message-bubble:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ticket-message-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 16px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

.ticket-support-message {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #10b981;
}

.ticket-support-message::before {
    border-right-color: #ecfdf5;
}

.ticket-user-bubble {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
    margin-left: 60px;
    margin-right: 0;
}

.ticket-user-bubble::before {
    left: auto;
    right: -8px;
    border-right: none;
    border-left: 8px solid #dbeafe;
}

.ticket-message-bubble p {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.ticket-reply-section {
    padding: 20px 24px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.ticket-reply-section textarea {
    width: 100%;
    min-height: 80px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s;
    background: #f9fafb;
}

.ticket-reply-section textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    background: white;
}

.ticket-reply-section textarea:disabled {
    background: #f9fafb;
    color: #374151;
    cursor: text;
}

.ticket-reply-section textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.ticket-action-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

.ticket-btn-primary, .ticket-btn-secondary {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.ticket-btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
}

.ticket-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.ticket-btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.ticket-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Ticket Oluşturma Modalı */
.ticket-create-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.ticket-create-modal-overlay.active {
    display: flex;
}

.ticket-create-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.3s ease-out;
}

.ticket-create-header {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.ticket-create-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.ticket-create-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

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

.ticket-create-content {
    padding: 24px;
}

.ticket-create-field {
    margin-bottom: 20px;
}

.ticket-create-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.ticket-create-field input,
.ticket-create-field textarea {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #f9fafb;
}

.ticket-create-field input:focus,
.ticket-create-field textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    background: white;
}

.ticket-create-field textarea {
    min-height: 120px;
    resize: vertical;
}

.ticket-create-field input::placeholder,
.ticket-create-field textarea::placeholder {
    color: #9ca3af;
}

.ticket-create-actions {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-radius: 0 0 16px 16px;
}

/* Ticket Listesi */
.ticket-list {
    position: fixed;
    left: 20px;
    top: 20px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.ticket-list-header {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-list-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.ticket-create-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

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

.ticket-item {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ticket-item:hover {
    background: #f8fafc;
}

.ticket-item:last-child {
    border-bottom: none;
}

.ticket-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.ticket-excerpt {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-status.new {
    background: #fef3c7;
    color: #d97706;
}

.ticket-status.pending {
    background: #dbeafe;
    color: #2563eb;
}

.ticket-status.resolved {
    background: #d1fae5;
    color: #059669;
}

.ticket-time {
    color: #9ca3af;
    font-size: 11px;
}

/* Responsive */
@media (max-width: 768px) {
    .ticket-list {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .ticket-container {
        min-height: auto;
    }
    
    .ticket-modal {
        max-height: none;
    }
    
    .ticket-create-modal {
        width: 95%;
        margin: 10px;
    }
    
    .ticket-create-content {
        padding: 20px;
    }
    
    .ticket-create-actions {
        padding: 16px 20px;
        flex-direction: column;
    }
    
    .ticket-create-actions button {
        width: 100%;
    }
    
    .ticket-message-bubble {
        margin-right: 20px;
    }
    
    .ticket-user-bubble {
        margin-left: 20px;
        margin-right: 0;
    }
    
    .ticket-action-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .ticket-btn-primary, .ticket-btn-secondary {
        width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .ticket-modal {
        border-radius: 12px;
    }
    
    .ticket-create-modal {
        width: 100%;
        margin: 0;
        border-radius: 12px;
    }
    
    .ticket-create-header {
        padding: 16px 20px;
        border-radius: 12px 12px 0 0;
    }
    
    .ticket-create-content {
        padding: 16px 20px;
    }
    
    .ticket-create-actions {
        padding: 16px 20px;
        border-radius: 0 0 12px 12px;
    }
    
    .ticket-header {
        padding: 16px 20px;
    }
    
    .ticket-content {
        padding: 16px;
    }
    
    .ticket-reply-section {
        padding: 16px 20px;
    }
    
    .ticket-message-bubble {
        margin-right: 10px;
        padding: 12px 16px;
    }
    
    .ticket-user-bubble {
        margin-left: 10px;
        margin-right: 0;
    }
}

/* Scrollbar Styling */
.ticket-content::-webkit-scrollbar {
    width: 6px;
}

.ticket-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.ticket-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.ticket-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

  
  
  
  