/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} */

/* body {
    background-color: #f5f7fa;
    color: #333;
    padding: 20px;
    line-height: 1.6;
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5eb;
}

.header h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.demo-area {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.4rem;
    color: #3498db;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e1e5eb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 1.2rem;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.control-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}

.control-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 5px;
}

.control-group input, .control-group select {
    padding: 10px 12px;
    border: 1px solid #dce1e6;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.control-group input:focus, .control-group select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.btn {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.data-container {
    margin: 25px 0;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    overflow: hidden;
}

.table-header {
    display: flex;
    background-color: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #e1e5eb;
}

.col-id {
    width: 80px;
}

.col-name {
    flex: 1;
}

.col-email {
    width: 250px;
}

.col-status {
    width: 100px;
    text-align: center;
}

.data-list {
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.data-item {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.2s;
}

.data-item:hover {
    background-color: #f8f9fa;
}

.data-item:nth-child(even) {
    background-color: #fcfcfc;
}

.data-item:nth-child(even):hover {
    background-color: #f5f5f5;
}

.pagination-container {
    display: flex;
    justify-content: center;
    float: right;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    /* background-color: #DDD; */
    border: 1px solid #DDD;
    color: #888;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: #0073ed;
    border-color: #0073ed;
    color: #ffffff;
}

.page-link.active {
    background-color: #0073ed;
    border-color: #0073ed;
    color: white;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.page-link.disabled:hover {
    background-color: #f8f9fa;
    border-color: #e1e5eb;
    color: #2c3e50;
}

.page-link-ellipsis {
    cursor: default;
    background-color: transparent;
    border: none;
    width: 30px;
}

.page-link-ellipsis:hover {
    background-color: transparent;
}

.pagination-info {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 1rem;
    color: #2c3e50;
}

.pagination-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.sync-status {
    font-size: 0.9rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sync-status .active {
    color: #2ecc71;
}

.sync-status .inactive {
    color: #e74c3c;
}

.info-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-top: 30px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
    }
    
    .page-link {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .col-email {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .demo-area, .info-section {
        padding: 15px;
    }
    
    .page-link {
        width: 36px;
        height: 36px;
    }
    
    .pagination {
        gap: 4px;
    }
}