.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.system-content {
  flex: 1;
  width: 100%;
  background-image: url('../assets/images/slices/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

/* Hero Banner */
.hero-banner {
    margin-top: 78px;
  height: 390px;
  width: 100%;
  background-image: url('../assets/images/slices/b1.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -50px; /* Overlap effect if desired, or just spacing */
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: #fff;
  
  h1 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
  }
  
  p {
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.9;
    font-weight: 300;
  }
}

.main-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 0 50px 0;
  z-index: 2;
}

.main-container {
  display: flex;
  width: 1200px;
  max-width: 95%;
  min-height: 700px;
  gap: 30px;
  margin-top: 50px;
}

/* Sidebar */
.sidebar {
  width: 260px;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  height: 60px;
  background-image: url('../assets/images/slices/leftbar.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  border-radius: 4px 4px 0 0;
  
  h2 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
  }
}

.sidebar-menu {
  background: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.menu-item {
  padding: 15px 30px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
  
  &:hover {
    background: #f8f9fa;
    color: #4a86c0;
  }
  
  &.active {
    background: #fff;
    color: #4a86c0;
    font-weight: bold;
    border-left: 3px solid #4a86c0;
  }
}

/* Content Area */
.content-area {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 40px 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.content-header {
  text-align: center;
  margin-bottom: 40px;
  
  h2 {
    font-size: 22px;
    color: #333;
    font-weight: 500;
  }
}

.form-container {
  max-width: 100%;
}

.form-group {
  margin-bottom: 25px;
}

.label-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  
  .bar {
    color: #2b74b9;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
  }
  
  label {
    font-size: 16px;
    color: #333;
    font-weight: 500;
  }

  .required {
      color: #ff0000;
      margin-left: 4px;
  }
}

.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  outline: none;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  transition: border-color 0.3s;
  
  &:focus {
    border-color: #4a86c0;
  }
}

.hint-text {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

.input-row {
  display: flex;
  align-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  padding: 8px 15px;
  background: #fff;
  transition: border-color 0.3s;
  
  &:focus-within {
    border-color: #4a86c0;
  }

  .input-label {
    color: #4a86c0;
    background: #F4FCFF;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    margin-right: 20px;
    white-space: nowrap;
    font-size: 14px;
  }
  
  .form-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px 0;
    font-size: 14px;
    color: #333;
    
    &::placeholder {
      color: #ccc;
    }
  }
}

.mt-2 {
  margin-top: 15px;
}

.upload-area {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
  border: 1px dashed #D2D3D4;
}

.upload-box {
  flex: 1;
  flex-direction: column;
  background: #F4FCFF;
  border-radius: 6px;
  border: 1px solid #AECCD7;
  min-height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #fdfdfd;
  
  &:hover {
    border-color: #4a86c0;
    background: #f0f7ff;
  }
}

.upload-content {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  img {
    height: 36px;
    margin-bottom: 15px;
    object-fit: contain;
  }
  
  .upload-text {
    font-size: 14px;
    color: #4a86c0;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .upload-hint {
    font-size: 12px;
    color: #999;
  }
}
.upload-file {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  
  .file-name {
    max-width: 80%;
    mrgin-right: 10px;
    margin-left: 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .upload-remove-btn {
    height: 16px;
    width: 16px;
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
    opacity: 0.7;
    
    &:hover {
      opacity: 1;
    }
  }
}
.upload-progress {
  width: 100%;
  height: 8px;
  background: #e1e1e1;
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
  
  .progress-bar {
    height: 100%;
    width: 0%;
    background: #4a86c0;
    transition: width 0.3s;
  }
}

.agreement-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 40px;
  font-size: 12px;
  color: #666;
  flex-wrap: wrap;
  padding-left: 5px;
  
  .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 5px;
    
    input {
      margin-right: 8px;
      cursor: pointer;
    }
  }
  
  .agreement-link {
    color: #ff4d4f;
    text-decoration: underline;
    margin-left: 5px;
    cursor: pointer;
  }
}

.submit-row {
  display: flex;
  justify-content: center;
}

.submit-btn {
  background: #4a86c0;
  color: #fff;
  border: none;
  padding: 12px 60px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  
  &:hover {
    background: #3b75af;
  }
}

label {
    margin-bottom: 0 !important;
}