.cpp-28601-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.cpp-28601-toggle {
    background-color: #FF8C00;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.cpp-28601-toggle:hover {
    transform: scale(1.05);
}

.cpp-28601-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cpp-28601-active .cpp-28601-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cpp-28601-active .cpp-28601-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cpp-28601-header {
    background-color: #FF8C00;
    color: white;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cpp-28601-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.cpp-28601-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.cpp-28601-body {
    padding: 20px;
}

.cpp-28601-field {
    margin-bottom: 15px;
}

.cpp-28601-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.cpp-28601-field input,
.cpp-28601-field textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.cpp-28601-info {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cpp-28601-info a {
    color: #FF8C00;
    text-decoration: underline;
    font-weight: bold;
}

.cpp-28601-submit {
    width: 100%;
    padding: 10px;
    background-color: #FF8C00;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cpp-28601-submit:hover {
    background-color: #e67e00;
}

/* Ensure editor preview shows the popup */
.elementor-editor-active .cpp-28601-wrapper {
    position: relative;
    top: auto;
    right: auto;
}
.elementor-editor-active .cpp-28601-container {
    position: relative;
    transform: none;
}
