/* CSS Reset */
.ape-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* मुख्य स्टाइल */
.ape-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 15px;
}

.ape-toolbar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.ape-toolbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
}

.ape-flex-grow {
    flex-grow: 1;
}

.ape-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.ape-btn-primary { background: #4CAF50; color: white; }
.ape-btn-success { background: #45a049; color: white; }
.ape-btn-danger { background: #f44336; color: white; }
.ape-btn-secondary { background: #9E9E9E; color: white; }
.ape-btn-info { background: #2196F3; color: white; }

.ape-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ape-pdf-viewer {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    min-height: 600px;
}

.ape-page-container {
    margin: 20px auto;
    border: 1px solid #eee;
    position: relative;
}

.ape-page-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

input[type="text"], 
input[type="number"] {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}