Changed around line 1
+ :root {
+ --primary-color: #2a6bf2;
+ --secondary-color: #1a1b4b;
+ --background-color: #f8f9fa;
+ --text-color: #333;
+ --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ --transition: all 0.3s ease;
+ }
+
+ * {
+ 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: var(--text-color);
+ background: var(--background-color);
+ }
+
+ header {
+ background: var(--secondary-color);
+ color: white;
+ padding: 1rem;
+ box-shadow: var(--shadow);
+ }
+
+ h1 {
+ font-size: 1.8rem;
+ font-weight: 700;
+ text-align: center;
+ }
+
+ .crud-container {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ display: grid;
+ grid-template-columns: 1fr;
+ gap: 2rem;
+ }
+
+ @media (min-width: 768px) {
+ .crud-container {
+ grid-template-columns: 1fr 2fr;
+ }
+ }
+
+ .form-container {
+ background: white;
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: var(--shadow);
+ }
+
+ .input-group {
+ margin-bottom: 1.5rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+ }
+
+ input, textarea {
+ width: 100%;
+ padding: 0.8rem;
+ border: 2px solid #ddd;
+ border-radius: 4px;
+ transition: var(--transition);
+ }
+
+ input:focus, textarea:focus {
+ border-color: var(--primary-color);
+ outline: none;
+ }
+
+ .btn-primary {
+ background: var(--primary-color);
+ color: white;
+ padding: 0.8rem 1.5rem;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: var(--transition);
+ }
+
+ .btn-primary:hover {
+ background: var(--secondary-color);
+ transform: translateY(-2px);
+ }
+
+ .items-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+ gap: 1.5rem;
+ }
+
+ .item-card {
+ background: white;
+ padding: 1.5rem;
+ border-radius: 8px;
+ box-shadow: var(--shadow);
+ transition: var(--transition);
+ }
+
+ .item-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .item-actions {
+ display: flex;
+ gap: 1rem;
+ margin-top: 1rem;
+ }
+
+ .btn-edit, .btn-delete {
+ padding: 0.5rem 1rem;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: var(--transition);
+ }
+
+ .btn-edit {
+ background: #ffd700;
+ }
+
+ .btn-delete {
+ background: #ff4444;
+ color: white;
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: var(--secondary-color);
+ color: white;
+ margin-top: 2rem;
+ }