.smalltoolkit-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.smalltoolkit-form {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.smalltoolkit-stats {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input[type="url"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}


.form-group input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group .description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

#shorten-btn {
    margin-top: 10px;
}

.short-url-container {
    display: block;
    margin: 15px 0;
}

.short-url-container input {
    width: 100%;
    margin-bottom: 10px;
}

.qr-code-container {
    margin: 20px 0;
    text-align: center;
}

.qr-code-container img {
    max-width: 200px;
    height: auto;
}

/* Frontend styles */
.smalltoolkit-frontend-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.smalltoolkit-frontend-form h3 {
    margin-top: 0;
}

/* Tabs */
.smalltoolkit-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    padding: 10px 20px;
    background: #f1f1f1;
    border: none;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    cursor: pointer;
}

.tab-button.active {
    background: #2271b1;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

#click_result_container {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

#click_result_container p {
    margin: 10px 0;
}

/* Bulk actions */
.bulk-actions {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.check-column {
    width: 2.2em;
}

.wp-list-table th.check-column, 
.wp-list-table td.check-column {
    padding: 8px 0 0 3px;
    vertical-align: middle;
}

#select-all {
    margin: 0;
}

/* Export button */
.button.export-btn {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.button.export-btn:hover {
    background-color: #3e8e41;
    border-color: #3e8e41;
}

/* History tab styles */
#user_history_container {
    margin-top: 20px;
}

.history-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item .short-url {
    font-weight: bold;
    margin-right: 10px;
}

.history-item .original-url {
    color: #666;
    font-size: 0.9em;
    margin-top: 3px;
}

.history-actions {
    display: flex;
    gap: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .smalltoolkit-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .history-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .history-actions {
        margin-top: 5px;
        width: 100%;
        justify-content: flex-end;
    }
}

