회원가입 디자인 적용

This commit is contained in:
현성필
2025-11-15 18:38:03 +09:00
parent cadac012e6
commit 42100e8a1a
18 changed files with 3088 additions and 1398 deletions
+748
View File
@@ -10558,6 +10558,754 @@ select.form-control {
}
}
.org-page-title-banner {
position: relative;
width: 100%;
height: 220px;
background: linear-gradient(to right, #E8F4FD 0%, #F0F8FF 100%);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 64px;
overflow: hidden;
}
.org-page-title-banner::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
background-size: 50px 50px;
opacity: 0.5;
}
.org-page-title-banner .title-image {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 220px;
width: auto;
z-index: 1;
}
.org-page-title-banner h1 {
position: relative;
font-size: 40px;
font-weight: 700;
color: #1A1A2E;
margin: 0;
z-index: 2;
letter-spacing: -0.5px;
}
@media (max-width: 768px) {
.org-page-title-banner {
height: 120px;
margin-bottom: 32px;
}
.org-page-title-banner .title-image {
height: 120px;
}
.org-page-title-banner h1 {
font-size: 24px;
}
}
.org-register-page {
min-height: 100vh;
padding: 0;
}
@media (max-width: 768px) {
.org-register-page {
padding: 0;
}
}
.org-register-container {
max-width: 1066px;
margin: 0 auto;
padding: 0 24px 64px;
}
@media (max-width: 768px) {
.org-register-container {
padding: 0 24px 32px;
}
}
.org-register-title {
font-size: 40px;
font-weight: 700;
color: #1A1A2E;
text-align: center;
margin-bottom: 48px;
}
@media (max-width: 768px) {
.org-register-title {
font-size: 32px;
margin-bottom: 32px;
}
}
.org-section-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 24px 32px;
background: linear-gradient(135deg, #4B9BFF 0%, #2E7FF7 100%);
border-radius: 8px;
margin-bottom: 32px;
}
.org-section-header h3 {
font-size: 20px;
font-weight: 600;
color: #FFFFFF;
margin: 0;
}
.org-section-header .required-badge {
background: rgba(255, 255, 255, 0.2);
color: #FFFFFF;
padding: 4px 16px;
border-radius: 50px;
font-size: 14px;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 4px;
}
.org-section-header .required-badge::before {
content: "*";
color: #FFD93D;
font-weight: 700;
}
.org-section-header--agreement {
background: none;
padding: 0 0 16px 0;
border-radius: 0;
border-bottom: 2px solid #212529;
margin-bottom: 32px;
}
.org-section-header--agreement h3 {
font-size: 22px;
font-weight: 700;
color: #212529;
margin: 0;
}
.org-section-header--agreement .required-badge {
display: none;
}
@media (max-width: 768px) {
.org-section-header {
padding: 16px 24px;
}
.org-section-header h3 {
font-size: 18px;
}
.org-section-header--agreement {
padding: 0 0 8px 0;
}
.org-section-header--agreement h3 {
font-size: 18px;
}
}
.org-info-notice {
background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
padding: 24px;
border-radius: 8px;
margin-bottom: 32px;
}
.org-info-notice ul {
list-style: none;
padding: 0;
margin: 0;
}
.org-info-notice ul li {
position: relative;
padding-left: 24px;
color: #64748B;
font-size: 14px;
line-height: 1.6;
}
.org-info-notice ul li::before {
content: "•";
position: absolute;
left: 0;
color: #4B9BFF;
font-weight: 700;
}
.org-info-notice ul li + li {
margin-top: 8px;
}
.org-form-group {
margin-bottom: 40px;
display: flex;
align-items: flex-start;
gap: 24px;
}
.org-form-group:last-child {
margin-bottom: 0;
}
@media (max-width: 768px) {
.org-form-group {
flex-direction: column;
gap: 16px;
}
}
.org-form-label {
display: flex;
align-items: center;
gap: 8px;
font-size: 16px;
font-weight: 600;
color: #1A1A2E;
min-width: 180px;
padding-top: 16px;
}
.org-form-label .required {
color: #FF6B6B;
font-weight: 700;
}
@media (max-width: 768px) {
.org-form-label {
min-width: auto;
padding-top: 0;
}
}
.org-form-input-wrapper {
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
}
.org-form-input {
width: 100%;
padding: 16px 24px;
border: 2px solid #E2E8F0;
border-radius: 8px;
font-size: 16px;
color: #1A1A2E;
transition: all 0.3s ease;
background: #FFFFFF;
}
.org-form-input:focus {
outline: none;
border-color: #4B9BFF;
box-shadow: 0 0 0 3px rgba(75, 155, 255, 0.1);
}
.org-form-input:disabled {
background: #F8FAFC;
color: #94A3B8;
cursor: not-allowed;
}
.org-form-input.is-invalid {
border-color: #FF6B6B;
}
.org-form-input.is-valid {
border-color: #6BCF7F;
}
.org-form-input::placeholder {
color: #94A3B8;
}
.org-compound-input {
display: flex;
align-items: center;
gap: 8px;
}
.org-compound-input .org-form-input,
.org-compound-input .org-form-select {
flex: 1;
min-width: 0;
}
.org-compound-input .phone-number {
flex: 1;
width: 100%;
}
.org-compound-input .separator {
color: #64748B;
font-weight: 600;
user-select: none;
}
@media (max-width: 768px) {
.org-compound-input {
flex-wrap: wrap;
}
.org-compound-input .org-form-input,
.org-compound-input .org-form-select {
min-width: 80px;
}
}
.org-form-select {
width: 100%;
padding: 16px 24px;
border: 2px solid #E2E8F0;
border-radius: 8px;
font-size: 16px;
color: #1A1A2E;
background: #FFFFFF;
cursor: pointer;
transition: all 0.3s ease;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 24px center;
padding-right: 48px;
}
.org-form-select:focus {
outline: none;
border-color: #4B9BFF;
box-shadow: 0 0 0 3px rgba(75, 155, 255, 0.1);
}
.org-form-select:disabled {
background-color: #F8FAFC;
color: #94A3B8;
cursor: not-allowed;
}
.org-input-button-group {
display: flex;
gap: 16px;
}
.org-input-button-group .org-form-input {
flex: 1;
}
@media (max-width: 768px) {
.org-input-button-group {
flex-direction: column;
}
.org-input-button-group .org-form-input {
flex: none;
}
}
.org-auth-input-group {
position: relative;
display: flex;
align-items: center;
}
.org-auth-input-group .org-form-input {
padding-right: 100px;
}
.org-timer {
position: absolute;
right: 24px;
top: 50%;
transform: translateY(-50%);
font-size: 14px;
font-weight: 600;
color: #FF6B6B;
pointer-events: none;
user-select: none;
}
.org-btn {
padding: 16px 40px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
white-space: nowrap;
}
.org-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.org-btn:not(:disabled):hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(75, 155, 255, 0.1);
}
.org-btn:not(:disabled):active {
transform: translateY(0);
}
.org-btn-primary {
background: linear-gradient(135deg, #4B9BFF 0%, #2E7FF7 100%);
color: #FFFFFF;
}
.org-btn-primary:not(:disabled):hover {
background: linear-gradient(135deg, #2E7FF7 0%, #4B9BFF 100%);
}
.org-btn-secondary {
background: #FFFFFF;
color: #64748B;
border: 2px solid #E2E8F0;
}
.org-btn-secondary:not(:disabled):hover {
border-color: #4B9BFF;
color: #4B9BFF;
}
.org-btn-check, .org-file-label {
padding: 16px 24px;
background: #FFFFFF;
color: #4B9BFF;
border: 2px solid #4B9BFF;
}
.org-btn-check:not(:disabled):hover, .org-file-label:not(:disabled):hover {
background: #4B9BFF;
color: #FFFFFF;
}
.org-file-upload {
display: flex;
align-items: center;
gap: 16px;
}
@media (max-width: 768px) {
.org-file-upload {
flex-direction: column;
align-items: stretch;
}
}
.org-file-display {
flex: 1;
padding: 16px 24px;
border: 2px dashed #E2E8F0;
border-radius: 8px;
background: #F8FAFC;
color: #94A3B8;
cursor: default;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.org-file-display.has-file {
border-style: solid;
border-color: #6BCF7F;
background: rgba(107, 207, 127, 0.05);
color: #1A1A2E;
}
.org-file-label {
cursor: pointer;
}
.org-file-label input[type=file] {
display: none;
}
.org-file-remove {
padding: 16px;
background: #FF6B6B;
color: #FFFFFF;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}
.org-file-remove:hover {
background: #ff3838;
}
.org-file-notice {
margin-top: 16px;
padding: 16px;
background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
border-radius: 6px;
}
.org-file-notice p {
margin: 0;
font-size: 14px;
color: #64748B;
line-height: 1.5;
}
.org-file-notice p + p {
margin-top: 4px;
}
.org-file-notice p::before {
content: "• ";
color: #FFD93D;
font-weight: 700;
}
.org-action-buttons {
display: flex;
gap: 24px;
justify-content: center;
margin-top: 64px;
padding-top: 48px;
border-top: 1px solid #E2E8F0;
}
@media (max-width: 768px) {
.org-action-buttons {
flex-direction: column;
margin-top: 40px;
padding-top: 32px;
}
}
.org-validation-message {
margin-top: 8px;
padding: 8px 16px;
border-radius: 6px;
font-size: 14px;
}
.org-validation-message.success {
background: rgba(107, 207, 127, 0.1);
color: #6BCF7F;
}
.org-validation-message.error {
background: rgba(255, 107, 107, 0.1);
color: #FF6B6B;
}
.org-loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(26, 26, 46, 0.7);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}
.org-loading-overlay.active {
display: flex;
}
.org-loading-overlay .spinner {
width: 50px;
height: 50px;
border: 4px solid rgba(255, 255, 255, 0.2);
border-top-color: #FFFFFF;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@media (max-width: 768px) {
.org-compound-input .org-form-select,
.org-compound-input .org-form-input {
font-size: 14px;
padding: 8px 16px;
}
}
.agreement-form {
background: #FFFFFF;
border: 1px solid #DDDDDD;
border-radius: 12px;
padding: 30px 20px;
display: flex;
flex-direction: column;
gap: 20px;
margin-bottom: 90px;
}
.agreement-all-section {
display: flex;
align-items: center;
padding: 10px 0;
}
.agreement-divider {
height: 1px;
background: #DDDDDD;
width: 100%;
}
.agreement-items-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.agreement-item-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
height: 28px;
}
.agreement-checkbox-label {
display: flex;
align-items: center;
gap: 4px;
cursor: pointer;
flex: 1;
user-select: none;
}
.agreement-checkbox-input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.agreement-checkbox-input:checked + .agreement-checkbox-custom {
background-image: url("/img/checkbox-checked.png");
}
.agreement-checkbox-input:focus + .agreement-checkbox-custom {
box-shadow: 0 0 0 3px rgba(140, 149, 159, 0.1);
}
.agreement-checkbox-custom {
position: relative;
width: 26px;
height: 26px;
min-width: 26px;
border: none;
border-radius: 50%;
background-image: url("/img/checkbox-unchecked.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: all 0.3s ease;
padding: 0;
}
.agreement-checkbox-text {
font-size: 16px;
font-weight: 400;
color: #515961;
line-height: 100.02%;
display: flex;
align-items: center;
gap: 4px;
}
.agreement-checkbox-text.agreement-all-text {
font-size: 18px;
font-weight: 700;
color: #212529;
}
.agreement-required {
color: #0049B4;
font-weight: 700;
}
.agreement-title {
color: #515961;
}
.agreement-toggle-icon {
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
min-width: 22px;
border: none;
background: transparent;
color: #64748B;
cursor: pointer;
transition: all 0.3s ease;
padding: 8px 4px 10px 7px;
}
.agreement-toggle-icon i {
font-size: 12px;
transition: transform 0.3s ease;
}
.agreement-toggle-icon:hover {
color: #4B9BFF;
}
.agreement-toggle-icon.active {
color: #4B9BFF;
}
.agreement-toggle-icon.active i {
transform: rotate(180deg);
}
.agreement-content {
margin-top: 16px;
background: #EDF9FE;
}
.agreement-scroll {
max-height: 300px;
overflow-y: auto;
padding: 24px;
}
.agreement-scroll::-webkit-scrollbar {
width: 8px;
}
.agreement-scroll::-webkit-scrollbar-track {
background: #E2E8F0;
border-radius: 6px;
}
.agreement-scroll::-webkit-scrollbar-thumb {
background: #94A3B8;
border-radius: 6px;
}
.agreement-scroll::-webkit-scrollbar-thumb:hover {
background: #64748B;
}
.agreement-scroll div {
font-size: 14px;
line-height: 1.8;
color: #64748B;
}
.agreement-scroll div h1, .agreement-scroll div h2, .agreement-scroll div h3, .agreement-scroll div h4, .agreement-scroll div h5, .agreement-scroll div h6 {
color: #1A1A2E;
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
}
.agreement-scroll div p {
margin-bottom: 16px;
}
.agreement-scroll div ul, .agreement-scroll div ol {
margin-left: 24px;
margin-bottom: 16px;
}
.agreement-scroll div table {
width: 100%;
border-collapse: collapse;
margin-bottom: 16px;
}
.agreement-scroll div table th, .agreement-scroll div table td {
border: 1px solid #E2E8F0;
padding: 8px;
text-align: left;
}
.agreement-scroll div table th {
background: #EFF6FF;
font-weight: 600;
}
@media (max-width: 768px) {
.agreement-form {
padding: 20px 16px;
gap: 16px;
}
.agreement-all-section {
padding: 8px 0;
}
.agreement-items-list {
gap: 16px;
}
.agreement-item-row {
height: auto;
min-height: 28px;
}
.agreement-checkbox-text {
font-size: 14px;
}
.agreement-checkbox-text.agreement-all-text {
font-size: 16px;
}
.agreement-scroll {
max-height: 250px;
padding: 16px;
}
}
.user-management-container {
max-width: 1400px;
margin: 0 auto;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

@@ -13,6 +13,8 @@ $accent-orange: #FF6B6B; // Orange accent
$accent-green: #6BCF7F; // Green accent
$accent-purple: #A78BFA; // Purple accent
$main-bg: #EDF9FE;
// Neutral colors
$text-dark: #1A1A2E; // Main text color
$text-gray: #64748B; // Secondary text
@@ -25,6 +27,7 @@ $black: #000000; // Pure black
$gray-800: #1F2937; // Dark gray
$gray-900: #111827; // Darker gray
// Gradients
$gradient-primary: linear-gradient(135deg, $primary-blue 0%, $secondary-blue 100%);
$gradient-accent: linear-gradient(135deg, $accent-cyan 0%, $primary-blue 100%);
@@ -118,4 +121,4 @@ $button-padding-y: 16px;
$card-padding: 32px;
$input-padding-x: 16px;
$input-padding-y: 12px;
$input-height: 48px;
$input-height: 48px;
+1
View File
@@ -48,6 +48,7 @@
@import 'pages/apikey-detail';
@import 'pages/notice';
@import 'pages/inquiry';
@import 'pages/org-register';
@import 'pages/user-management';
// 6. Themes
@@ -0,0 +1,857 @@
// Organization Registration Page Styles
// Modern design for corporate registration flow
@import '../abstracts/variables';
@import '../abstracts/mixins';
// Page Title Banner
.org-page-title-banner {
position: relative;
width: 100%;
height: 220px;
background: linear-gradient(to right, #E8F4FD 0%, #F0F8FF 100%);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: $spacing-4xl;
overflow: hidden;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
background-size: 50px 50px;
opacity: 0.5;
}
.title-image {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 220px;
width: auto;
z-index: 1;
}
h1 {
position: relative;
font-size: $font-size-3xl;
font-weight: $font-weight-bold;
color: $text-dark;
margin: 0;
z-index: 2;
letter-spacing: -0.5px;
}
@include respond-to('sm') {
height: 120px;
margin-bottom: $spacing-xl;
.title-image {
height: 120px;
}
h1 {
font-size: $font-size-xl;
}
}
}
// Main Registration Container
.org-register-page {
min-height: 100vh;
padding: 0;
@include respond-to('sm') {
padding: 0;
}
}
.org-register-container {
max-width: 1066px;
margin: 0 auto;
padding: 0 $spacing-lg $spacing-4xl;
@include respond-to('sm') {
padding: 0 $spacing-lg $spacing-xl;
}
}
// Header
.org-register-title {
font-size: $font-size-3xl;
font-weight: $font-weight-bold;
color: $text-dark;
text-align: center;
margin-bottom: $spacing-3xl;
@include respond-to('sm') {
font-size: $font-size-2xl;
margin-bottom: $spacing-xl;
}
}
// Section Headers
.org-section-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: $spacing-lg $spacing-xl;
background: linear-gradient(135deg, $primary-blue 0%, $secondary-blue 100%);
border-radius: $border-radius-md;
margin-bottom: $spacing-xl;
h3 {
font-size: $font-size-lg;
font-weight: $font-weight-semibold;
color: $white;
margin: 0;
}
.required-badge {
background: rgba(255, 255, 255, 0.2);
color: $white;
padding: $spacing-xs $spacing-md;
border-radius: $border-radius-full;
font-size: $font-size-sm;
font-weight: $font-weight-medium;
display: inline-flex;
align-items: center;
gap: $spacing-xs;
&::before {
content: '*';
color: $accent-yellow;
font-weight: $font-weight-bold;
}
}
// Agreement variant - Simple text with underline (Figma design)
&--agreement {
background: none;
padding: 0 0 $spacing-md 0;
border-radius: 0;
border-bottom: 2px solid #212529;
margin-bottom: $spacing-xl;
h3 {
font-size: 22px;
font-weight: $font-weight-bold;
color: #212529;
margin: 0;
}
.required-badge {
display: none;
}
}
@include respond-to('sm') {
padding: $spacing-md $spacing-lg;
h3 {
font-size: $font-size-md;
}
&--agreement {
padding: 0 0 $spacing-sm 0;
h3 {
font-size: $font-size-md;
}
}
}
}
// Info Notice
.org-info-notice {
background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
padding: $spacing-lg;
border-radius: $border-radius-md;
margin-bottom: $spacing-xl;
ul {
list-style: none;
padding: 0;
margin: 0;
li {
position: relative;
padding-left: $spacing-lg;
color: $text-gray;
font-size: $font-size-sm;
line-height: 1.6;
&::before {
content: '';
position: absolute;
left: 0;
color: $primary-blue;
font-weight: $font-weight-bold;
}
& + li {
margin-top: $spacing-sm;
}
}
}
}
// Form Groups
.org-form-group {
margin-bottom: $spacing-2xl;
display: flex;
align-items: flex-start;
gap: $spacing-lg;
&:last-child {
margin-bottom: 0;
}
@include respond-to('sm') {
flex-direction: column;
gap: $spacing-md;
}
}
.org-form-label {
display: flex;
align-items: center;
gap: $spacing-sm;
font-size: $font-size-base;
font-weight: $font-weight-semibold;
color: $text-dark;
min-width: 180px;
padding-top: $spacing-md;
.required {
color: $accent-orange;
font-weight: $font-weight-bold;
}
@include respond-to('sm') {
min-width: auto;
padding-top: 0;
}
}
.org-form-input-wrapper {
flex: 1;
display: flex;
flex-direction: column;
gap: $spacing-sm;
}
// Input Fields
.org-form-input {
width: 100%;
padding: $spacing-md $spacing-lg;
border: 2px solid $border-gray;
border-radius: $border-radius-md;
font-size: $font-size-base;
color: $text-dark;
transition: $transition-base;
background: $white;
&:focus {
outline: none;
border-color: $primary-blue;
box-shadow: 0 0 0 3px rgba(75, 155, 255, 0.1);
}
&:disabled {
background: $gray-bg;
color: $text-light;
cursor: not-allowed;
}
&.is-invalid {
border-color: $accent-orange;
}
&.is-valid {
border-color: $accent-green;
}
&::placeholder {
color: $text-light;
}
}
// Compound Inputs (e.g., phone number, email)
.org-compound-input {
display: flex;
align-items: center;
gap: $spacing-sm;
.org-form-input,
.org-form-select {
flex: 1;
min-width: 0;
}
// Equal width for phone number inputs
.phone-number {
flex: 1;
width: 100%;
}
.separator {
color: $text-gray;
font-weight: $font-weight-semibold;
user-select: none;
}
@include respond-to('sm') {
flex-wrap: wrap;
.org-form-input,
.org-form-select {
min-width: 80px;
}
}
}
// Select Dropdown
.org-form-select {
width: 100%;
padding: $spacing-md $spacing-lg;
border: 2px solid $border-gray;
border-radius: $border-radius-md;
font-size: $font-size-base;
color: $text-dark;
background: $white;
cursor: pointer;
transition: $transition-base;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right $spacing-lg center;
padding-right: $spacing-3xl;
&:focus {
outline: none;
border-color: $primary-blue;
box-shadow: 0 0 0 3px rgba(75, 155, 255, 0.1);
}
&:disabled {
background-color: $gray-bg;
color: $text-light;
cursor: not-allowed;
}
}
// Button with Input
.org-input-button-group {
display: flex;
gap: $spacing-md;
.org-form-input {
flex: 1;
}
@include respond-to('sm') {
flex-direction: column;
.org-form-input {
flex: none;
}
}
}
// Auth Input Group (for authentication number with timer)
.org-auth-input-group {
position: relative;
display: flex;
align-items: center;
.org-form-input {
padding-right: 100px; // Make space for timer
}
}
.org-timer {
position: absolute;
right: $spacing-lg;
top: 50%;
transform: translateY(-50%);
font-size: $font-size-sm;
font-weight: $font-weight-semibold;
color: $accent-orange;
pointer-events: none;
user-select: none;
}
// Buttons
.org-btn {
padding: $spacing-md $spacing-2xl;
border-radius: $border-radius-md;
font-size: $font-size-base;
font-weight: $font-weight-semibold;
cursor: pointer;
transition: $transition-base;
border: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: $spacing-sm;
white-space: nowrap;
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
&:not(:disabled):hover {
transform: translateY(-1px);
box-shadow: $shadow-md;
}
&:not(:disabled):active {
transform: translateY(0);
}
}
.org-btn-primary {
background: linear-gradient(135deg, $primary-blue 0%, $secondary-blue 100%);
color: $white;
&:not(:disabled):hover {
background: linear-gradient(135deg, $secondary-blue 0%, $primary-blue 100%);
}
}
.org-btn-secondary {
background: $white;
color: $text-gray;
border: 2px solid $border-gray;
&:not(:disabled):hover {
border-color: $primary-blue;
color: $primary-blue;
}
}
.org-btn-check {
padding: $spacing-md $spacing-lg;
background: $white;
color: $primary-blue;
border: 2px solid $primary-blue;
&:not(:disabled):hover {
background: $primary-blue;
color: $white;
}
}
// File Upload
.org-file-upload {
display: flex;
align-items: center;
gap: $spacing-md;
@include respond-to('sm') {
flex-direction: column;
align-items: stretch;
}
}
.org-file-display {
flex: 1;
padding: $spacing-md $spacing-lg;
border: 2px dashed $border-gray;
border-radius: $border-radius-md;
background: $gray-bg;
color: $text-light;
cursor: default;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
&.has-file {
border-style: solid;
border-color: $accent-green;
background: rgba(107, 207, 127, 0.05);
color: $text-dark;
}
}
.org-file-label {
@extend .org-btn-check;
cursor: pointer;
input[type="file"] {
display: none;
}
}
.org-file-remove {
padding: $spacing-md;
background: $accent-orange;
color: $white;
border: none;
border-radius: $border-radius-md;
cursor: pointer;
transition: $transition-base;
&:hover {
background: darken($accent-orange, 10%);
}
}
// File Upload Notice
.org-file-notice {
margin-top: $spacing-md;
padding: $spacing-md;
background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
border-radius: $border-radius-sm;
p {
margin: 0;
font-size: $font-size-sm;
color: $text-gray;
line-height: 1.5;
& + p {
margin-top: $spacing-xs;
}
&::before {
content: '';
color: $accent-yellow;
font-weight: $font-weight-bold;
}
}
}
// Action Buttons
.org-action-buttons {
display: flex;
gap: $spacing-lg;
justify-content: center;
margin-top: $spacing-4xl;
padding-top: $spacing-3xl;
border-top: 1px solid $border-gray;
@include respond-to('sm') {
flex-direction: column;
margin-top: $spacing-2xl;
padding-top: $spacing-xl;
}
}
// Validation Messages
.org-validation-message {
margin-top: $spacing-sm;
padding: $spacing-sm $spacing-md;
border-radius: $border-radius-sm;
font-size: $font-size-sm;
&.success {
background: rgba(107, 207, 127, 0.1);
color: $accent-green;
}
&.error {
background: rgba(255, 107, 107, 0.1);
color: $accent-orange;
}
}
// Loading Overlay
.org-loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(26, 26, 46, 0.7);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
&.active {
display: flex;
}
.spinner {
width: 50px;
height: 50px;
border: 4px solid rgba(255, 255, 255, 0.2);
border-top-color: $white;
border-radius: 50%;
animation: spin 1s linear infinite;
}
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
// Responsive Adjustments
@include respond-to('sm') {
.org-compound-input {
.org-form-select,
.org-form-input {
font-size: $font-size-sm;
padding: $spacing-sm $spacing-md;
}
}
}
// Agreement Form - Figma Design
.agreement-form {
background: $white;
border: 1px solid #DDDDDD;
border-radius: 12px;
padding: 30px 20px;
display: flex;
flex-direction: column;
gap: 20px;
margin-bottom: 90px;
}
// Agree All Section
.agreement-all-section {
display: flex;
align-items: center;
padding: 10px 0;
}
// Divider
.agreement-divider {
height: 1px;
background: #DDDDDD;
width: 100%;
}
// Agreement Items List
.agreement-items-list {
display: flex;
flex-direction: column;
gap: 20px;
}
// Agreement Item Row
.agreement-item-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
height: 28px;
}
// Checkbox Label
.agreement-checkbox-label {
display: flex;
align-items: center;
gap: 4px;
cursor: pointer;
flex: 1;
user-select: none;
}
// Checkbox Input (hidden)
.agreement-checkbox-input {
position: absolute;
opacity: 0;
pointer-events: none;
&:checked + .agreement-checkbox-custom {
background-image: url('/img/checkbox-checked.png');
}
&:focus + .agreement-checkbox-custom {
box-shadow: 0 0 0 3px rgba(140, 149, 159, 0.1);
}
}
// Checkbox Custom Style (Circle Design)
.agreement-checkbox-custom {
position: relative;
width: 26px;
height: 26px;
min-width: 26px;
border: none;
border-radius: 50%;
background-image: url('/img/checkbox-unchecked.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: $transition-base;
padding: 0;
}
// Checkbox Text
.agreement-checkbox-text {
font-size: 16px;
font-weight: 400;
color: #515961;
line-height: 100.02%;
display: flex;
align-items: center;
gap: 4px;
&.agreement-all-text {
font-size: 18px;
font-weight: 700;
color: #212529;
}
}
// Agreement Required Badge
.agreement-required {
color: #0049B4;
font-weight: 700;
}
// Agreement Title
.agreement-title {
color: #515961;
}
// Toggle Icon
.agreement-toggle-icon {
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
min-width: 22px;
border: none;
background: transparent;
color: $text-gray;
cursor: pointer;
transition: $transition-base;
padding: 8px 4px 10px 7px;
i {
font-size: 12px;
transition: transform 0.3s ease;
}
&:hover {
color: $primary-blue;
}
&.active {
color: $primary-blue;
i {
transform: rotate(180deg);
}
}
}
// Agreement Content
.agreement-content {
margin-top: $spacing-md;
background: $main-bg;
}
.agreement-scroll {
max-height: 300px;
overflow-y: auto;
padding: $spacing-lg;
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-track {
background: $border-gray;
border-radius: $border-radius-sm;
}
&::-webkit-scrollbar-thumb {
background: $text-light;
border-radius: $border-radius-sm;
&:hover {
background: $text-gray;
}
}
// Style agreement content
div {
font-size: $font-size-sm;
line-height: 1.8;
color: $text-gray;
h1, h2, h3, h4, h5, h6 {
color: $text-dark;
margin-top: $spacing-lg;
margin-bottom: $spacing-md;
font-weight: $font-weight-semibold;
}
p {
margin-bottom: $spacing-md;
}
ul, ol {
margin-left: $spacing-lg;
margin-bottom: $spacing-md;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: $spacing-md;
th, td {
border: 1px solid $border-gray;
padding: $spacing-sm;
text-align: left;
}
th {
background: $light-bg;
font-weight: $font-weight-semibold;
}
}
}
}
// Responsive
@include respond-to('sm') {
.agreement-form {
padding: 20px 16px;
gap: 16px;
}
.agreement-all-section {
padding: 8px 0;
}
.agreement-items-list {
gap: 16px;
}
.agreement-item-row {
height: auto;
min-height: 28px;
}
.agreement-checkbox-text {
font-size: $font-size-sm;
&.agreement-all-text {
font-size: $font-size-base;
}
}
.agreement-scroll {
max-height: 250px;
padding: $spacing-md;
}
}