.clb-button {
    position: fixed;
    padding: 12px 20px;
    background: var(--clb-bg-color, #007cba);
    color: var(--clb-text-color, #ffffff);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: var(--clb-z-index, 9999);
    min-width: 160px;
    justify-content: center;
    transform-origin: center;
}

.clb-button:hover {
    transform: translateY(-2px) rotate(var(--clb-rotate, 0deg));
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.clb-button:active {
    transform: translateY(0) rotate(var(--clb-rotate, 0deg));
}

/* Horizontal Layout */
.clb-button.clb-horizontal {
    writing-mode: horizontal-tb;
    min-width: auto;
    min-height: auto;
    padding: 10px 15px;
}

/* Vertical Layout */
.clb-button.clb-vertical {
    writing-mode: horizontal-tb;
}

/* Positions */
.clb-top-left {
    top: 20px;
    left: 20px;
}

.clb-top-right {
    top: 20px;
    right: 20px;
}

.clb-bottom-left {
    bottom: 20px;
    left: 20px;
}

.clb-bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Custom Positions */
.clb-top-custom {
    top: var(--clb-top-percent, 10%);
    left: var(--clb-left-percent, 10%);
}

.clb-bottom-custom {
    bottom: var(--clb-bottom-percent, 10%);
    right: var(--clb-right-percent, 10%);
}

.clb-left-custom {
    left: var(--clb-left-percent, 10%);
    top: var(--clb-top-percent, 10%);
}

.clb-right-custom {
    right: var(--clb-right-percent, 10%);
    top: var(--clb-top-percent, 10%);
}

/* Remove default positions for custom */
.clb-top-custom,
.clb-bottom-custom,
.clb-left-custom,
.clb-right-custom {
    position: fixed;
}

.clb-top-custom:hover,
.clb-bottom-custom:hover,
.clb-left-custom:hover,
.clb-right-custom:hover {
    transform: translateY(-2px) rotate(var(--clb-rotate, 0deg));
}

/* Success message */
.clb-success-message {
    font-weight: bold;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .clb-button {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 140px;
    }
    
    .clb-button.clb-horizontal {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .clb-top-left,
    .clb-top-right,
    .clb-bottom-left,
    .clb-bottom-right {
        margin: 10px;
    }
    
    .clb-top-custom,
    .clb-bottom-custom,
    .clb-left-custom,
    .clb-right-custom {
        margin: 10px;
    }
}