/* Стили для модального окна добавления записи */ .add-entry-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1rem; } .add-entry-modal { background: white; border-radius: 0.5rem; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); max-width: 400px; width: calc(100% - 2rem); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; } .add-entry-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem 0.5rem 1.5rem; } .add-entry-modal-title { font-size: 1.25rem; font-weight: 600; color: #1f2937; margin: 0; } .add-entry-close-button { background: none; border: none; font-size: 1.5rem; color: #6b7280; cursor: pointer; padding: 0; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 0.25rem; transition: all 0.2s; } .add-entry-close-button:hover { background: #f3f4f6; color: #1f2937; } .add-entry-modal-content { padding: 0.5rem 1.5rem 1.5rem 1.5rem; overflow-y: auto; overflow-x: hidden; flex: 1; } .add-entry-field { margin-bottom: 0.5rem; } .add-entry-label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.5rem; } .add-entry-textarea { width: 100%; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 0.375rem; font-size: 1rem; box-sizing: border-box; resize: vertical; font-family: inherit; } .add-entry-textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); } .add-entry-rewards { margin-bottom: 1.5rem; } .add-entry-reward-item { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.75rem; min-width: 0; } .add-entry-reward-item:last-child { margin-bottom: 0; } .add-entry-reward-number { display: flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; background: #f3f4f6; border-radius: 0.375rem; font-size: 1rem; font-weight: 600; color: #6b7280; } .add-entry-input { padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 0.375rem; font-size: 1rem; box-sizing: border-box; min-width: 0; width: 100%; } .add-entry-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); } .add-entry-project-input { flex: 3; min-width: 0; } .add-entry-score-input { flex: 1; min-width: 0; max-width: 100px; } .add-entry-submit-button { width: 100%; padding: 0.75rem 1.5rem; background: linear-gradient(to right, #6366f1, #8b5cf6); color: white; border: none; border-radius: 0.375rem; font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.2s; } .add-entry-submit-button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); } .add-entry-submit-button:disabled { opacity: 0.5; cursor: not-allowed; }