.cp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.cp-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}
.cp-modal-content {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  z-index: 1001;
  animation: cp-slide-up 0.3s ease;
}
.cp-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s;
}
.cp-close-btn:hover {
  color: #4b5563;
}
.cp-header {
  text-align: center;
  margin-bottom: 28px;
}
.cp-icon-container {
  width: 56px;
  height: 56px;
  background-color: #008B8B;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(0, 139, 139, 0.3);
}
.cp-title {
  font-size: 28px;
  font-weight: 700;
  color: #008B8B;
  margin: 0 0 10px 0;
}
.cp-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}
.cp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cp-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.cp-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  transition: all 0.2s;
}
.cp-input-wrapper.cp-focused {
  border-color: #008B8B;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.1);
}
.cp-input-wrapper.cp-error {
  border-color: #ef4444;
}
.cp-input-icon {
  position: absolute;
  left: 14px;
  color: #9ca3af;
}
.cp-input-wrapper.cp-focused .cp-input-icon {
  color: #008B8B;
}
.cp-input {
  width: 100%;
  padding: 14px 44px;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #111827;
  outline: none;
}
.cp-visibility-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-visibility-btn:hover {
  color: #4b5563;
}
.cp-error-text {
  font-size: 12px;
  color: #ef4444;
  margin: 0;
}
.cp-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cp-btn-cancel, .cp-btn-submit {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cp-btn-cancel {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
}
.cp-btn-cancel:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}
.cp-btn-submit {
  background: #008B8B;
  border: 1px solid #008B8B;
  color: #ffffff;
}
.cp-btn-submit:hover:not(:disabled) {
  background: #007676;
  box-shadow: 0 4px 12px rgba(0, 139, 139, 0.2);
}
.cp-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.cp-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2000;
  animation: cp-slide-down 0.3s ease;
}
.cp-confirm-overlay {
  z-index: 1002;
}
.cp-confirm-dialog {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 1003;
  animation: cp-scale-in 0.3s ease;
}
.cp-confirm-icon {
  width: 64px;
  height: 64px;
  background-color: #008B8B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0, 139, 139, 0.3);
}
.cp-confirm-dialog h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
}
.cp-confirm-dialog p {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 24px 0;
}
@keyframes cp-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cp-slide-down {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes cp-scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
