/* static/css/components/investment-completion.css */
.investment-completion {
  min-height: 100vh;
  position: relative;
  background: var(--bg-primary);
}

/* Background */
.investment-completion__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.investment-completion__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.investment-completion__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(4, 8, 37, 0.9) 0%, rgba(4, 8, 37, 0.7) 100%);
}

/* Main Content */
.investment-completion__main {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 4rem) 0;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.investment-completion__content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Completion Card */
.completion-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(1rem, 3vw, 24px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.completion-card__container {
  padding: clamp(1.5rem, 4vw, 40px);
}

.completion-card__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 40px);
}

.completion-card__title {
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(1.5rem, 5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 clamp(0.5rem, 2vw, 12px) 0;
}

.completion-card__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* Sections */
.completion-card__section {
  margin-bottom: clamp(1.5rem, 4vw, 32px);
}

.completion-card__section-title {
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(1rem, 4vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 clamp(0.5rem, 2vw, 12px) 0;
}

.completion-card__section-desc {
  color: rgba(255, 255, 255, 0.8);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 clamp(1rem, 3vw, 20px) 0;
}

/* Bank Details */
.bank-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(0.5rem, 2vw, 12px);
  padding: clamp(1rem, 3vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 16px);
}

.bank-details__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.5rem, 2vw, 10px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-details__item:last-child {
  border-bottom: none;
}

.bank-details__label {
  color: rgba(255, 255, 255, 0.7);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.75rem, 3vw, 14px);
  font-weight: 400;
  line-height: 1.5;
}

.bank-details__value {
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(0.75rem, 3vw, 14px);
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
}

/* Instructions */
.instructions-list {
  color: rgba(255, 255, 255, 0.8);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  padding-left: clamp(1rem, 3vw, 20px);
  margin: 0;
}

.instructions-list li {
  margin-bottom: clamp(0.5rem, 2vw, 8px);
}

/* Form */
.completion-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 24px);
}

.completion-form__field {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 2vw, 8px);
}

.completion-form__label {
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 16px);
  font-weight: 500;
  line-height: 1.5;
}

.completion-form__input {
  padding: clamp(0.75rem, 2vw, 12px) clamp(1rem, 3vw, 16px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(0.5rem, 2vw, 8px);
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 16px);
  font-weight: 400;
  line-height: 1.5;
}

.completion-form__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.completion-form__input:focus {
  outline: none;
  border-color: #EB1260;
  box-shadow: 0 0 0 3px rgba(235, 18, 96, 0.2);
}

.completion-form__help {
  color: rgba(255, 255, 255, 0.6);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.75rem, 2vw, 12px);
  font-weight: 400;
  line-height: 1.4;
}

/* File Upload */
.file-upload {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: clamp(0.5rem, 2vw, 8px);
  padding: clamp(1.5rem, 4vw, 32px);
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.file-upload:hover,
.file-upload--dragover {
  border-color: #EB1260;
  background: rgba(235, 18, 96, 0.1);
}

.file-upload__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 12px);
}

.file-upload__icon {
  width: clamp(2rem, 5vw, 48px);
  height: clamp(2rem, 5vw, 48px);
  color: rgba(255, 255, 255, 0.6);
}

.file-upload__text {
  display: flex;
  flex-direction: column;
  gap: clamp(0.25rem, 1vw, 4px);
}

.file-upload__primary {
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 16px);
  font-weight: 500;
  line-height: 1.5;
}

.file-upload__secondary {
  color: rgba(255, 255, 255, 0.6);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.75rem, 3vw, 14px);
  font-weight: 400;
  line-height: 1.4;
}

.file-upload__info {
  color: rgba(255, 255, 255, 0.5);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.75rem, 2vw, 12px);
  font-weight: 400;
  line-height: 1.4;
  margin-top: clamp(0.5rem, 2vw, 8px);
}

/* File Preview */
.file-upload__preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.75rem, 2vw, 12px) clamp(1rem, 3vw, 16px);
  background: rgba(235, 18, 96, 0.1);
  border: 1px solid #EB1260;
  border-radius: clamp(0.5rem, 2vw, 8px);
}

.file-upload__filename {
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 14px);
  font-weight: 500;
  line-height: 1.5;
}

.file-upload__remove {
  background: none;
  border: none;
  color: #EB1260;
  cursor: pointer;
  padding: clamp(0.25rem, 1vw, 4px);
}

/* Submit Button */
.completion-form__submit {
  padding: clamp(0.75rem, 3vw, 16px) clamp(1.5rem, 4vw, 32px);
  background: #EB1260;
  border: none;
  border-radius: clamp(0.5rem, 2vw, 8px);
  color: #FFF;
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: clamp(1rem, 3vw, 20px);
}

.completion-form__submit:hover {
  background: #C10E52;
  transform: translateY(-1px);
}

/* Footer */
.completion-card__footer {
  text-align: center;
  margin-top: clamp(2rem, 5vw, 40px);
  padding-top: clamp(1.5rem, 4vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.completion-card__note {
  color: rgba(255, 255, 255, 0.7);
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 14px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 clamp(1rem, 3vw, 16px) 0;
}

.completion-card__dashboard-link {
  color: #EB1260;
  font-family: Inter, var(--font-family);
  font-size: clamp(0.875rem, 3vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.completion-card__dashboard-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bank-details__item {
      flex-direction: column;
      align-items: flex-start;
      gap: clamp(0.25rem, 1vw, 4px);
  }
  
  .bank-details__value {
      text-align: left;
      word-break: break-all;
  }
}