/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { height:100%; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f6f6e6;
  color: #333;
  line-height:1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
}
html { scroll-behavior:smooth; }

/* Navbar */
.header {
  background:#fff;
  height:80px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  box-shadow:0 2px 4px rgba(0,0,0,0.1);
  z-index:1000;
}
.header .container {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:100%;
  padding:0 30px;
  max-width:1200px;
  margin:0 auto;
}
.logo-kontainer {
  display:flex;
  align-items:center;
  text-decoration:none;
  color:inherit;
}
.logo {
  width:40px;
  margin-right:10px;
}
.logo-metin h1 {
  font-size:20px;
}
.logo-metin p {
  font-size:12px;
  color:gray;
}

/* Profil Dropdown */
.account-icon {
  width:35px;
  height:35px;
  border:1px solid #8550D9;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.2s;
}
.account-icon:hover {
  background:#0ebedd;
  border-color:#0ebedd;
}
.account-icon i {
  color:#8550D9;
  font-size:20px;
  transition:.2s;
}
.account-icon:hover i {
  color:#fff;
}
.account-dropdown {
  display:none;
  position:absolute;
  top:100%;
  right:30px;
  background:#fff;
  border:1px solid #ccc;
  border-radius:6px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  z-index:1001;
}
.account-dropdown ul {
  list-style:none;
  width:180px;
}
.account-dropdown li {
  padding:10px 15px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  transition:.2s;
}
.account-dropdown li:hover {
  background:#f0f0f0;
}

/* Ana İçerik */
main {
  padding-top:100px;
  width:100%;
  max-width:800px;
  margin:0 auto;
  padding-bottom:2rem;
}
.meeting-form {
  background:#fff;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  padding:2rem;
}
.meeting-form-header {
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:1.5rem;
}
.back-btn {
  background:none;
  border:none;
  font-size:1.2rem;
  cursor:pointer;
  color:#0ebedd;
}
.back-btn:hover {
  color:#0aaac2;
}
.meeting-form h2 {
  font-size:28px;
  color:#0ebedd;
}

/* Form */
#meetingForm {
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.form-group {
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}
.form-group.inline {
  flex-direction:row;
  align-items:center;
  gap:1rem;
}
.form-group label {
  font-weight:600;
  color:#333;
  min-width:100px;
  display:flex;
  align-items:center;
  gap:0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding:0.6rem;
  border:1px solid #ccc;
  border-radius:4px;
  font-size:14px;
  transition:.2s;
  width:100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none;
  border-color:#0ebedd;
  
}
.form-group textarea {
  min-height:100px;
  resize:vertical;
}
.checkbox-label {
  display:flex;
  align-items:center;
  gap:0.5rem;
  font-weight:400;
}
.participant-entry {
  display:flex;
  gap:1rem;
  align-items:center;
  margin-bottom:0.5rem;
}
.participant-entry input,
.participant-entry select {
  flex:1;
}
.remove-btn {
  background:#d32f2f;
  color:#fff;
  border:none;
  border-radius:4px;
  padding:0.5rem;
  cursor:pointer;
}
.remove-btn:hover {
  background:#ef5350;
}
.btn-add {
  background:#fff;
  color:#333;
  border:none;
  padding:0.6rem 1rem;
  border-radius:4px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:0.5rem;
  transition:.2s;
}
.btn-add:hover {
  color:#0ebedd;
}
.form-actions {
  display:flex;
  gap:1rem;
  justify-content:flex-end;
}
.btn-save,
.btn-cancel {
  padding:0.6rem 1.2rem;
  border:none;
  border-radius:4px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:0.5rem;
  transition:.2s;
}
.btn-save {
  background:#0ebedd;
  color:#fff;
}
.btn-save:hover {
  background:#0aaac2;
}
.btn-save:disabled {
  background:#ccc;
  cursor:not-allowed;
}
.btn-cancel {
  background:#d32f2f;
  color:#fff;
}
.btn-cancel:hover {
  background:#ef5350;
}
.success-tick {
  font-size:18px;
}

/* Overlay ve Progress Bar */
.overlay {
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  z-index:2000;
  justify-content:center;
  align-items:center;
}
.overlay.active {
  display:flex;
}
.progress-container {
  width:320px;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 16px rgba(0,0,0,0.3);
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.progress-text {
  font-size:16px;
  font-weight:600;
  color:#333;
  text-align:center;
}
.progress-bar {
  width:100%;
  height:10px;
  background:#e0e0e0;
  border-radius:5px;
  overflow:hidden;
  position:relative;
}
.progress-bar::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:0;
  height:100%;
  background:linear-gradient(90deg, #0ebedd, #8550D9);
  border-radius:5px;
  animation:progress 2.5s infinite ease-in-out;
}
.progress-glow {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation:glow 2.5s infinite ease-in-out;
}
.progress-spinner {
  font-size:24px;
  color:#0ebedd;
}
@keyframes progress {
  0% { width:0; }
  50% { width:90%; }
  100% { width:0; }
}
@keyframes glow {
  0% { transform:translateX(-100%); }
  50% { transform:translateX(100%); }
  100% { transform:translateX(100%); }
}

/* Toast Notification */
#toast-container {
  position:fixed;
  top:20px;
  right:20px;
  z-index:3000;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.toast {
  background:#e6f7fa;
  color:#0ebedd;
  padding:15px 20px;
  border-radius:8px;
  border:1px solid #b3e5fc;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  max-width:300px;
  font-size:13px;
  font-weight:400;
  line-height:1.5;
  display:flex;
  align-items:center;
  gap:10px;
  opacity:0;
  transform:translateX(100%);
  animation:slideIn 0.5s ease-out forwards, slideOut 0.5s ease-in 2.5s forwards;
}
.toast.success {
  background:#e6ffed;
  color:#28a745;
  border:1px solid #b7ebcc;
}
.toast i {
  font-size:14px;
  color:#0ebedd;
}
.toast.success i {
  color:#28a745;
}
@keyframes slideIn {
  0% { opacity:0; transform:translateX(100%); }
  100% { opacity:1; transform:translateX(0); }
}
@keyframes slideOut {
  0% { opacity:1; transform:translateX(0); }
  100% { opacity:0; transform:translateX(100%); }
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    padding:0 15px;
  }
  main {
    padding:80px 15px 2rem;
  }
  .meeting-form {
    padding:1.5rem;
  }
  .meeting-form h2 {
    font-size:24px;
  }
  .form-group.inline {
    flex-direction:column;
    align-items:flex-start;
  }
  .form-group label {
    min-width:unset;
  }
  .participant-entry {
    flex-direction:column;
    align-items:stretch;
  }
  .progress-container {
    width:80%;
    max-width:280px;
    padding:15px;
  }
  .progress-text {
    font-size:14px;
  }
  .progress-bar {
    height:8px;
  }
  .progress-spinner {
    font-size:20px;
  }
  #toast-container {
    top:10px;
    right:10px;
    width:90%;
    max-width:250px;
  }
  .toast {
    font-size:11px;
    padding:12px 15px;
  }
  .toast i {
    font-size:12px;
  }
}