- @use '../atoms/variables' as *;
- @use '../atoms/mixins' as *;
-
- // ─── Entry Form Card ─────────────────────────────────────────────────────────
- .entry-form {
- @include card($color-card);
- padding: $space-6 $space-8;
-
- @include tablet { padding: $space-5 $space-4; }
- }
-
- .entry-form__grid {
- display: grid;
- grid-template-columns: 120px 1fr;
- gap: $space-4 $space-6;
- align-items: center;
-
- @include tablet {
- grid-template-columns: 1fr;
- gap: $space-3;
- }
- }
-
- .entry-form__label {
- font-size: $font-size-base;
- font-weight: $font-weight-regular;
- color: $color-text-base;
- text-align: right;
- padding-right: $space-2;
- white-space: nowrap;
-
- @include tablet {
- text-align: left;
- padding-right: 0;
- }
- }
-
- .entry-form__field {
- display: flex;
- align-items: center;
- gap: $space-2;
- }
-
- .entry-form__field--rate {
- gap: $space-2;
- }
-
- .entry-form__unit {
- color: $color-text-muted;
- font-size: $font-size-sm;
- }
-
- .input--rate {
- width: 100px;
- }
-
- .entry-form__field--selects {
- display: flex;
- gap: $space-3;
- flex-wrap: wrap;
-
- .select {
- flex: 1;
- min-width: 180px;
- }
-
- @include tablet {
- flex-direction: column;
-
- .select {
- min-width: 0;
- width: 100%;
- }
- }
- }
-
- .entry-form__actions {
- grid-column: 2;
- display: flex;
- align-items: center;
- gap: $space-4;
- padding-top: $space-2;
-
- @include tablet {
- grid-column: 1;
-
- .btn { width: 100%; }
- }
- }
-
- // ─── Rate Mode (Radio: Default / Custom) ────────────────────────────────────
- .rate-mode {
- display: flex;
- flex-direction: column;
- gap: $space-2;
- }
-
- .rate-mode__option {
- display: flex;
- align-items: center;
- gap: $space-2;
- cursor: pointer;
-
- input[type='radio'] {
- accent-color: var(--color-primary);
- width: 15px;
- height: 15px;
- flex-shrink: 0;
- cursor: pointer;
- }
-
- span {
- font-size: $font-size-sm;
- color: $color-text-dark;
- }
- }
-
- .rate-mode__input {
- display: flex;
- align-items: center;
- gap: $space-2;
- padding-left: 23px;
- }
|