claim-form.component.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .split-view {
  2. display: flex;
  3. gap: 40px;
  4. padding: 20px;
  5. font-family: 'Inter', sans-serif;
  6. max-width: 1200px;
  7. margin: 0 auto;
  8. }
  9. .receipt-container {
  10. flex: 1;
  11. border-right: 2px solid #eee;
  12. padding-right: 40px;
  13. display: flex;
  14. flex-direction: column;
  15. }
  16. .form-container {
  17. flex: 1;
  18. }
  19. .preview-wrapper {
  20. position: relative;
  21. width: 100%;
  22. min-height: 400px;
  23. background: #f9f9f9;
  24. border: 2px dashed #ccc;
  25. border-radius: 8px;
  26. display: flex;
  27. justify-content: center;
  28. align-items: center;
  29. overflow: hidden;
  30. }
  31. .receipt-preview {
  32. width: 100%;
  33. height: auto;
  34. border-radius: 8px;
  35. box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  36. }
  37. .placeholder {
  38. color: #888;
  39. text-align: center;
  40. padding: 20px;
  41. }
  42. .review-banner {
  43. position: absolute;
  44. top: 0;
  45. left: 0;
  46. width: 100%;
  47. background: #ff4d4f;
  48. color: white;
  49. padding: 10px;
  50. text-align: center;
  51. font-weight: bold;
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. gap: 10px;
  56. z-index: 10;
  57. }
  58. .upload-section {
  59. margin-top: 20px;
  60. display: flex;
  61. flex-direction: column;
  62. align-items: center;
  63. gap: 10px;
  64. }
  65. .upload-btn {
  66. background: #007bff;
  67. color: white;
  68. border: none;
  69. padding: 12px 24px;
  70. border-radius: 6px;
  71. cursor: pointer;
  72. font-weight: 600;
  73. transition: background 0.2s;
  74. }
  75. .upload-btn:hover {
  76. background: #0056b3;
  77. }
  78. .form-field {
  79. margin-bottom: 20px;
  80. padding: 15px;
  81. border-radius: 8px;
  82. transition: all 0.3s ease;
  83. }
  84. .form-field label {
  85. display: block;
  86. margin-bottom: 8px;
  87. font-weight: 500;
  88. color: #333;
  89. }
  90. .form-field input, .form-field select {
  91. width: 100%;
  92. padding: 10px;
  93. border: 1px solid #ddd;
  94. border-radius: 4px;
  95. box-sizing: border-box;
  96. }
  97. .amount-input {
  98. display: flex;
  99. gap: 10px;
  100. }
  101. .amount-input input {
  102. flex: 3;
  103. }
  104. .amount-input select {
  105. flex: 1;
  106. }
  107. .ai-unconfident {
  108. border: 2px solid #ffa500 !important;
  109. background-color: #fff9e6;
  110. }
  111. .confidence-badge {
  112. margin-top: 8px;
  113. font-size: 0.8rem;
  114. color: #666;
  115. font-style: italic;
  116. }.submit-btn {
  117. width: 100%;
  118. background: #28a745;
  119. color: white;
  120. border: none;
  121. padding: 15px;
  122. border-radius: 6px;
  123. cursor: pointer;
  124. font-weight: 600;
  125. margin-top: 20px;
  126. }
  127. .submit-btn:disabled {
  128. background: #ccc;
  129. cursor: not-allowed;
  130. }
  131. .spinner {
  132. color: #007bff;
  133. font-weight: 500;
  134. }
  135. .currency-label {
  136. padding: 10px;
  137. background: #eee;
  138. border: 1px solid #ddd;
  139. border-left: none;
  140. border-radius: 0 4px 4px 0;
  141. font-weight: bold;
  142. color: #555;
  143. display: flex;
  144. align-items: center;
  145. }