|
|
| * {
|
| margin: 0;
|
| padding: 0;
|
| box-sizing: border-box;
|
| }
|
|
|
| body {
|
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| min-height: 100vh;
|
| color: #333;
|
| }
|
|
|
|
|
| .login-container {
|
| display: flex;
|
| justify-content: center;
|
| align-items: center;
|
| min-height: 100vh;
|
| padding: 20px;
|
| }
|
|
|
| .login-box {
|
| background: white;
|
| border-radius: 12px;
|
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
| padding: 40px;
|
| width: 100%;
|
| max-width: 400px;
|
| }
|
|
|
| .login-box h1 {
|
| text-align: center;
|
| margin-bottom: 30px;
|
| color: #667eea;
|
| font-size: 28px;
|
| }
|
|
|
|
|
| .form-group {
|
| margin-bottom: 20px;
|
| }
|
|
|
| .form-group label {
|
| display: block;
|
| margin-bottom: 8px;
|
| font-weight: 500;
|
| color: #555;
|
| }
|
|
|
| .form-group input,
|
| .form-group textarea,
|
| .form-group select {
|
| width: 100%;
|
| padding: 12px 16px;
|
| border: 2px solid #e0e0e0;
|
| border-radius: 8px;
|
| font-size: 14px;
|
| transition: border-color 0.3s;
|
| }
|
|
|
| .form-group input:focus,
|
| .form-group textarea:focus,
|
| .form-group select:focus {
|
| outline: none;
|
| border-color: #667eea;
|
| }
|
|
|
| .form-group.checkbox {
|
| display: flex;
|
| align-items: center;
|
| }
|
|
|
| .form-group.checkbox label {
|
| margin: 0;
|
| margin-left: 8px;
|
| font-weight: normal;
|
| }
|
|
|
| .form-group.checkbox input {
|
| width: auto;
|
| }
|
|
|
|
|
| .btn {
|
| padding: 12px 24px;
|
| border: none;
|
| border-radius: 8px;
|
| font-size: 14px;
|
| font-weight: 600;
|
| cursor: pointer;
|
| transition: all 0.3s;
|
| text-decoration: none;
|
| display: inline-block;
|
| }
|
|
|
| .btn-primary {
|
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| color: white;
|
| }
|
|
|
| .btn-primary:hover {
|
| transform: translateY(-2px);
|
| box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
| }
|
|
|
| .btn-secondary {
|
| background: #f5f5f5;
|
| color: #333;
|
| }
|
|
|
| .btn-secondary:hover {
|
| background: #e0e0e0;
|
| }
|
|
|
| .btn-danger {
|
| background: #ff4757;
|
| color: white;
|
| }
|
|
|
| .btn-danger:hover {
|
| background: #ee5a6f;
|
| }
|
|
|
| .btn-block {
|
| width: 100%;
|
| }
|
|
|
| .btn:disabled {
|
| opacity: 0.6;
|
| cursor: not-allowed;
|
| }
|
|
|
|
|
| .error {
|
| color: #ff4757;
|
| font-size: 14px;
|
| margin-top: 10px;
|
| text-align: center;
|
| }
|
|
|
|
|
| .dashboard-container {
|
| min-height: 100vh;
|
| background: #f5f7fa;
|
| }
|
|
|
| .header {
|
| background: white;
|
| padding: 20px 40px;
|
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
| display: flex;
|
| justify-content: space-between;
|
| align-items: center;
|
| }
|
|
|
| .header h1 {
|
| color: #667eea;
|
| font-size: 24px;
|
| }
|
|
|
| .user-menu {
|
| display: flex;
|
| align-items: center;
|
| gap: 15px;
|
| }
|
|
|
| .user-menu span {
|
| font-weight: 500;
|
| color: #555;
|
| }
|
|
|
| .main-content {
|
| max-width: 1200px;
|
| margin: 0 auto;
|
| padding: 40px 20px;
|
| }
|
|
|
|
|
| .stats-section {
|
| margin-bottom: 30px;
|
| }
|
|
|
| .stats-grid {
|
| display: grid;
|
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| gap: 20px;
|
| }
|
|
|
| .stat-card {
|
| background: white;
|
| border-radius: 12px;
|
| padding: 24px;
|
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
| display: flex;
|
| align-items: center;
|
| gap: 20px;
|
| transition: transform 0.3s;
|
| }
|
|
|
| .stat-card:hover {
|
| transform: translateY(-4px);
|
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
| }
|
|
|
| .stat-card.valid {
|
| border-left: 4px solid #2ecc71;
|
| }
|
|
|
| .stat-card.invalid {
|
| border-left: 4px solid #ff4757;
|
| }
|
|
|
| .stat-icon {
|
| font-size: 40px;
|
| }
|
|
|
| .stat-info h3 {
|
| font-size: 32px;
|
| color: #333;
|
| margin-bottom: 4px;
|
| }
|
|
|
| .stat-info p {
|
| color: #888;
|
| font-size: 14px;
|
| }
|
|
|
|
|
| .actions-section {
|
| margin-bottom: 30px;
|
| display: flex;
|
| gap: 15px;
|
| flex-wrap: wrap;
|
| }
|
|
|
|
|
| .table-section {
|
| background: white;
|
| border-radius: 12px;
|
| padding: 24px;
|
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
| }
|
|
|
| .table-section h2 {
|
| margin-bottom: 20px;
|
| color: #333;
|
| }
|
|
|
| .table-container {
|
| overflow-x: auto;
|
| }
|
|
|
| table {
|
| width: 100%;
|
| border-collapse: collapse;
|
| }
|
|
|
| thead {
|
| background: #f8f9fa;
|
| }
|
|
|
| th {
|
| padding: 12px;
|
| text-align: left;
|
| font-weight: 600;
|
| color: #555;
|
| border-bottom: 2px solid #e0e0e0;
|
| }
|
|
|
| td {
|
| padding: 12px;
|
| border-bottom: 1px solid #f0f0f0;
|
| }
|
|
|
| tr:hover {
|
| background: #f8f9fa;
|
| }
|
|
|
| .status-badge {
|
| display: inline-block;
|
| padding: 4px 12px;
|
| border-radius: 12px;
|
| font-size: 12px;
|
| font-weight: 600;
|
| }
|
|
|
| .status-valid {
|
| background: #d4edda;
|
| color: #155724;
|
| }
|
|
|
| .status-invalid {
|
| background: #f8d7da;
|
| color: #721c24;
|
| }
|
|
|
| .action-buttons {
|
| display: flex;
|
| gap: 8px;
|
| }
|
|
|
| .btn-sm {
|
| padding: 6px 12px;
|
| font-size: 12px;
|
| }
|
|
|
| .empty-state {
|
| text-align: center;
|
| padding: 60px 20px;
|
| color: #999;
|
| }
|
|
|
|
|
| .modal {
|
| position: fixed;
|
| top: 0;
|
| left: 0;
|
| width: 100%;
|
| height: 100%;
|
| background: rgba(0, 0, 0, 0.5);
|
| display: flex;
|
| justify-content: center;
|
| align-items: center;
|
| z-index: 1000;
|
| }
|
|
|
| .modal-content {
|
| background: white;
|
| border-radius: 12px;
|
| width: 90%;
|
| max-width: 600px;
|
| max-height: 90vh;
|
| overflow-y: auto;
|
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
| }
|
|
|
| .modal-header {
|
| padding: 24px;
|
| border-bottom: 1px solid #e0e0e0;
|
| display: flex;
|
| justify-content: space-between;
|
| align-items: center;
|
| }
|
|
|
| .modal-header h2 {
|
| color: #333;
|
| font-size: 20px;
|
| }
|
|
|
| .modal-close {
|
| background: none;
|
| border: none;
|
| font-size: 28px;
|
| color: #999;
|
| cursor: pointer;
|
| padding: 0;
|
| width: 32px;
|
| height: 32px;
|
| display: flex;
|
| align-items: center;
|
| justify-content: center;
|
| }
|
|
|
| .modal-close:hover {
|
| color: #333;
|
| }
|
|
|
| .modal-content form {
|
| padding: 24px;
|
| }
|
|
|
| .modal-footer {
|
| display: flex;
|
| justify-content: flex-end;
|
| gap: 12px;
|
| margin-top: 24px;
|
| }
|
|
|
|
|
| .toast {
|
| position: fixed;
|
| bottom: 30px;
|
| right: 30px;
|
| background: #333;
|
| color: white;
|
| padding: 16px 24px;
|
| border-radius: 8px;
|
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
| z-index: 2000;
|
| animation: slideIn 0.3s ease-out;
|
| }
|
|
|
| .toast.success {
|
| background: #2ecc71;
|
| }
|
|
|
| .toast.error {
|
| background: #ff4757;
|
| }
|
|
|
| @keyframes slideIn {
|
| from {
|
| transform: translateX(400px);
|
| opacity: 0;
|
| }
|
| to {
|
| transform: translateX(0);
|
| opacity: 1;
|
| }
|
| }
|
|
|
|
|
| @media (max-width: 768px) {
|
| .header {
|
| padding: 15px 20px;
|
| }
|
|
|
| .header h1 {
|
| font-size: 20px;
|
| }
|
|
|
| .main-content {
|
| padding: 20px 15px;
|
| }
|
|
|
| .stats-grid {
|
| grid-template-columns: 1fr;
|
| }
|
|
|
| .actions-section {
|
| flex-direction: column;
|
| }
|
|
|
| .actions-section .btn {
|
| width: 100%;
|
| }
|
|
|
| table {
|
| font-size: 14px;
|
| }
|
|
|
| th, td {
|
| padding: 8px;
|
| }
|
| } |