| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
- line-height: 1.6;
- color: #333;
- background-color: #f5f5f5;
- }
- .container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 20px;
- }
- header {
- text-align: center;
- margin-bottom: 40px;
- padding: 30px 0;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- border-radius: 10px;
- }
- header h1 {
- font-size: 2.5rem;
- margin-bottom: 10px;
- }
- .subtitle {
- font-size: 1.1rem;
- opacity: 0.9;
- }
- .actions {
- display: flex;
- gap: 15px;
- justify-content: center;
- margin-bottom: 30px;
- }
- .btn {
- padding: 12px 24px;
- font-size: 1rem;
- border: none;
- border-radius: 6px;
- cursor: pointer;
- transition: all 0.3s ease;
- font-weight: 500;
- }
- .btn-primary {
- background-color: #667eea;
- color: white;
- }
- .btn-primary:hover {
- background-color: #5568d3;
- transform: translateY(-2px);
- }
- .btn-secondary {
- background-color: #764ba2;
- color: white;
- }
- .btn-secondary:hover {
- background-color: #643a8a;
- transform: translateY(-2px);
- }
- .message {
- padding: 15px 20px;
- border-radius: 6px;
- margin-bottom: 20px;
- text-align: center;
- }
- .message.success {
- background-color: #d4edda;
- color: #155724;
- border: 1px solid #c3e6cb;
- }
- .message.error {
- background-color: #f8d7da;
- color: #721c24;
- border: 1px solid #f5c6cb;
- }
- .message.hidden {
- display: none;
- }
- .section {
- background: white;
- padding: 30px;
- border-radius: 10px;
- margin-bottom: 30px;
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
- }
- .section h2 {
- font-size: 1.8rem;
- margin-bottom: 20px;
- color: #667eea;
- }
- .recommendations-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
- gap: 20px;
- }
- .recommendation-card {
- background: #f9f9f9;
- padding: 20px;
- border-radius: 8px;
- border: 1px solid #e0e0e0;
- transition: transform 0.2s ease, box-shadow 0.2s ease;
- }
- .recommendation-card:hover {
- transform: translateY(-4px);
- box-shadow: 0 4px 12px rgba(0,0,0,0.15);
- }
- .recommendation-card h3 {
- font-size: 1.3rem;
- margin-bottom: 5px;
- color: #333;
- }
- .author {
- color: #666;
- font-style: italic;
- margin-bottom: 10px;
- }
- .description {
- margin-bottom: 15px;
- line-height: 1.5;
- }
- .reason {
- background: #fff;
- padding: 10px;
- border-left: 3px solid #667eea;
- margin-bottom: 10px;
- }
- .reason strong {
- color: #667eea;
- }
- .reason p {
- margin-top: 5px;
- font-size: 0.95rem;
- }
- .genres {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- margin-top: 10px;
- }
- .genre-tag {
- background: #667eea;
- color: white;
- padding: 4px 12px;
- border-radius: 20px;
- font-size: 0.85rem;
- }
- .history-list {
- display: flex;
- flex-direction: column;
- gap: 15px;
- }
- .history-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 15px;
- background: #f9f9f9;
- border-radius: 8px;
- border: 1px solid #e0e0e0;
- }
- .book-info h3 {
- font-size: 1.1rem;
- margin-bottom: 5px;
- }
- .status {
- padding: 6px 12px;
- border-radius: 20px;
- font-size: 0.9rem;
- font-weight: 500;
- }
- .status.finished {
- background-color: #d4edda;
- color: #155724;
- }
- .status.in-progress {
- background-color: #fff3cd;
- color: #856404;
- }
- .empty-state {
- text-align: center;
- color: #999;
- padding: 40px;
- font-size: 1.1rem;
- }
- @media (max-width: 768px) {
- header h1 {
- font-size: 2rem;
- }
- .actions {
- flex-direction: column;
- }
- .recommendations-grid {
- grid-template-columns: 1fr;
- }
- .history-item {
- flex-direction: column;
- align-items: flex-start;
- gap: 10px;
- }
- }
|