.elementor-7380 .elementor-element.elementor-element-3abab92{--display:flex;}/* Start custom CSS for html, class: .elementor-element-4562e1f *//* ROOT */
.controller-widget-root {
    font-family: Arial, sans-serif;
    color: #111827;
    font-size: 17px; /* slightly bigger base text */
}

.controller-widget-root * {
    box-sizing: border-box;
}

/* SECTION */
.controller-widget-root .tester-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 15px 50px;
}

.controller-widget-root .tester-title {
    font-size: 3rem;
    margin: 0 0 10px;
    text-align: center;
}

.controller-widget-root .tester-subtitle {
    margin: 0 auto 28px;
    max-width: 720px;
    text-align: center;
    color: #4b5563;
    font-size: 1.1rem;
}

/* MAIN WHITE CARD */
.controller-widget-root .gamepad-status {
    margin: 0 auto;
    max-width: 950px;
    background-color: #ffffff;
    padding: 24px 18px 24px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

/* LOADING SECTION */
.controller-widget-root #loading-section {
    text-align: center;
    margin-bottom: 16px;
}

.controller-widget-root #small-controller-image {
    width: 110px;
    margin-bottom: 10px;
}

.controller-widget-root #gamepad-message {
    font-size: 1rem;
    color: #333;
    margin-bottom: 12px;
}

.controller-widget-root #loading-bar {
    width: 80%;
    max-width: 650px;
    height: 10px;
    background-color: #e5e7eb;
    margin: 0 auto 10px;
    border-radius: 999px;
    overflow: hidden;
}

.controller-widget-root #loading-progress-bar {
    width: 0;
    height: 100%;
    background-color: #22c55e;
    animation: loading-bar 5s infinite;
}

@keyframes loading-bar {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

/* GAMEPAD INFO PANEL */
.controller-widget-root .gamepad-info {
    margin: 10px auto 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 0.98rem;
}

.controller-widget-root .gamepad-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.controller-widget-root .gamepad-info-title {
    font-weight: 600;
    color: #111827;
    font-size: 1rem;
}

.controller-widget-root .badge-live {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.controller-widget-root .gamepad-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px 16px;
    font-size: 0.95rem;
    color: #374151;
}

.controller-widget-root .gamepad-info-actions {
    margin-top: 10px;
}

/* MAIN LAYOUT: LEFT / RIGHT */
.controller-widget-root .tester-main-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    margin-top: 12px;
}

.controller-widget-root .tester-column {
    flex: 1 1 320px;
}

/* CONTROLLER IMAGE + BUTTONS */
.controller-widget-root #controller-wrapper {
    width: 510px;
    max-width: 100%;
    margin: 15px auto 0;
    position: relative;
}

.controller-widget-root #controller-image {
    position: relative;
    width: 510px;
    max-width: 100%;
    margin: 0 auto;
}

.controller-widget-root #controller-image img {
    width: 100%;
    height: auto;
    display: block;
}

.controller-widget-root .buttons-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 510px;
    max-width: 100%;
    height: 100%;
    pointer-events: none;
}

.controller-widget-root .button {
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 40%;
    color: black;
    font-size: 1px;
    line-height: 32px;
    text-align: center;
    border: 3px solid #000;
    transition: background-color 0.2s;
    position: absolute;
    pointer-events: auto;
}

/* BUTTON POSITIONS (BASED ON 510PX WIDTH) */
.controller-widget-root .button-0 { top: 119px; left: 388px; background-color: red; }
.controller-widget-root .button-1 { top: 87px; left: 419px; background-color: red; }
.controller-widget-root .button-2 { top: 87px; left: 358px; background-color: red; }
.controller-widget-root .button-3 { top: 57px; left: 388px; background-color: red; }

.controller-widget-root .button-4 {
    top: 5px; left: 70px; background-color: red;
    width: 66px; height: 20px;
    border-radius: 100px 100px 20px 20px / 50px 50px 90px 90px;
    transform: rotate(-15deg);
}
.controller-widget-root .button-5 {
    top: 5px; left: 375px; background-color: red;
    width: 66px; height: 20px;
    border-radius: 100px 100px 20px 20px / 50px 50px 90px 90px;
    transform: rotate(15deg);
}
.controller-widget-root .button-6 {
    top: -40px; left: 60px; background-color: red;
    width: 70px; height: 40px;
    border-radius: 100px 100px 40px 40px / 100px 100px 40px 40px;
    transform: rotate(-15deg);
}
.controller-widget-root .button-7 {
    top: -38px; left: 385px; background-color: red;
    width: 70px; height: 40px;
    border-radius: 100px 100px 40px 40px / 100px 100px 40px 40px;
    transform: rotate(15deg);
}
.controller-widget-root .button-8 {
    top: 38px; left: 132px; background-color: red;
    width: 12px; height: 25px;
    border-radius: 20px 20px 30px 40px / 20px 20px 30px 40px;
    transform: rotate(-15deg);
}
.controller-widget-root .button-9 {
    top: 38px; left: 360px; background-color: red;
    width: 12px; height: 25px;
    border-radius: 20px 20px 30px 40px / 20px 20px 30px 40px;
    transform: rotate(15deg);
}
.controller-widget-root .button-10 {
    top: 139px; left: 146px; background-color: red;
    width: 60px; height: 60px; border-radius: 50px;
}
.controller-widget-root .button-11 {
    top: 139px; left: 300px; background-color: red;
    width: 60px; height: 60px; border-radius: 50px;
}
.controller-widget-root .button-12 {
    top: 60px; left: 87px; background-color: red;
    width: 30px; height: 35px;
    border-radius: 10px 10px 20px 20px / 10px 10px 20px 20px;
}
.controller-widget-root .button-13 {
    top: 110px; left: 87px; background-color: red;
    width: 30px; height: 35px;
    border-radius: 20px 20px 10px 10px / 20px 20px 10px 10px;
}
.controller-widget-root .button-14 {
    top: 87px; left: 60px; background-color: red;
    width: 35px; height: 30px;
    border-radius: 10px 20px 20px 10px / 10px 20px 20px 10px;
}
.controller-widget-root .button-15 {
    top: 87px; left: 109px; background-color: red;
    width: 35px; height: 30px;
    border-radius: 20px 10px 10px 20px / 20px 10px 10px 20px;
}
.controller-widget-root .button-16 {
    top: 155px; left: 242px; background-color: red;
}
.controller-widget-root .button-17 {
    top: 11px; left: 155px; background-color: grey;
    width: 197px; height: 110px;
    border-radius: 20px 20px 30px 40px / 10px 10px 90px 90px;
}

/* SMALL STICKS */
.controller-widget-root #copy-left-stick-container,
.controller-widget-root #copy-right-stick-container {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: left 0.05s, top 0.05s;
}

.controller-widget-root #copy-left-stick-container {
    top: 137px;
    left: 145px;
}

.controller-widget-root #copy-right-stick-container {
    top: 137px;
    left: 298px;
}

.controller-widget-root #copy-left-stick,
.controller-widget-root #copy-right-stick {
    position: absolute;
    width: 52px;
    height: 52px;
    background-color: blue;
    border-radius: 50%;
    transition: left 0.05s, top 0.05s;
}

/* BIG STICKS VISUALIZER */
.controller-widget-root .analog-stick-wrapper {
    display: flex;
    justify-content: space-around;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 20px;
}

.controller-widget-root .analog-stick-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.controller-widget-root .analog-stick-label {
    margin-bottom: -70px;
    font-weight: bold;
    font-size: 0.95rem;
    line-height: 180px;
}

.controller-widget-root .analog-stick-container {
    position: relative;
    width: 190px;
    height: 190px;
    background-color: #eeeeee;
    border-radius: 50%;
    margin-bottom: 10px;
}

.controller-widget-root .cross {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.controller-widget-root .cross::before,
.controller-widget-root .cross::after {
    content: '';
    position: absolute;
    background-color: #999;
}

.controller-widget-root .cross::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.controller-widget-root .cross::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.controller-widget-root .analog-stick {
    width: 12px;
    height: 12px;
    background-color: blue;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.05s, top 0.05s;
}

/* TELEMETRY */
.controller-widget-root .telemetry-wrapper {
    display: none;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.controller-widget-root .telemetry-card {
    flex: 1 1 220px;
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    font-size: 0.98rem;
}

.controller-widget-root .telemetry-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #111827;
}

.controller-widget-root .telemetry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
}

/* OSCILLOSCOPE */
.controller-widget-root #oscilloscope-wrapper {
    margin-top: 16px;
    display: none;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.controller-widget-root .oscilloscope-panel {
    background: #020617;
    color: #e5e7eb;
    padding: 12px 14px;
    border-radius: 12px;
    width: 440px;
    max-width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

.controller-widget-root .oscilloscope-panel h3 {
    margin: 0 0 6px 0;
    font-size: 1rem;
}

.controller-widget-root .oscilloscope-panel small {
    color: #9ca3af;
    font-size: 0.9rem;
}

.controller-widget-root .oscilloscope-panel canvas {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    background: #020617;
    display: block;
}

/* OSCILLOSCOPE CONTROLS */
.controller-widget-root .osc-controls {
    margin-top: 16px;
    display: none;
    gap: 10px;
    flex-wrap: wrap;
}

/* BUTTON STYLES (reusable) */
.controller-widget-root .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    border: none;
    background: #22c55e;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
    transition: all 0.2s;
}

.controller-widget-root .btn-primary:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.controller-widget-root .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.controller-widget-root .btn-secondary:hover {
    background: #f3f4f6;
}

/* DUALSENSE CALIBRATION CARD */
.controller-widget-root #dualsense-calibration {
    margin-top: 32px;
    text-align: center;
}

.controller-widget-root #dualsense-calibration h2 {
    font-size: 1.6rem;
    color: #374151;
    margin-bottom: 6px;
}

.controller-widget-root #dualsense-calibration .subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.controller-widget-root #dualsense-calibration .card {
    background: white;
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    max-width: 620px;
    margin: 0 auto;
}

.controller-widget-root #dualsense-calibration .status {
    font-size: 1rem;
    margin-bottom: 18px;
    padding: 10px;
    background: #f3f4f6;
    border-radius: 10px;
}

.controller-widget-root #dualsense-calibration .success {
    color: #16a34a;
    font-weight: 600;
}

.controller-widget-root #dualsense-calibration .buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px 0;
}

.controller-widget-root #dualsense-calibration .btn-calibrate {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: #22c55e;
    color: white;
    box-shadow: 0 5px 20px rgba(34,197,94,0.4);
    transition: all 0.2s;
}

.controller-widget-root #dualsense-calibration .btn-calibrate:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* NEW: SAVE BUTTON STYLES */
.controller-widget-root #dualsense-calibration .btn-save {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: #dc3545;
    color: white;
    box-shadow: 0 5px 20px rgba(220,53,69,0.4);
    transition: all 0.2s;
}

.controller-widget-root #dualsense-calibration .btn-save:hover:not(:disabled) {
    background: #c82333;
    transform: translateY(-1px);
}

.controller-widget-root #dualsense-calibration .btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.controller-widget-root #dualsense-calibration .progress-container {
    margin: 16px 0;
}

.controller-widget-root #dualsense-calibration .progress {
    height: 40px;
    background: #e9ecef;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.controller-widget-root #dualsense-calibration .progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #22c55e, #0ea5e9);
    color: white;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    transition: width 0.6s ease;
}

.controller-widget-root #dualsense-calibration .info {
    margin-top: 10px;
    font-size: 0.9rem;
    min-height: 40px;
    color: #374151;
}

.controller-widget-root #dualsense-calibration .hint-footer {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* SERVICES SECTION (BELOW TESTER) */
.controller-widget-root .services-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.controller-widget-root .services-section h2 {
    text-align: center;
    font-size: 1.7rem;
    margin: 0 0 8px;
    color: #111827;
}

.controller-widget-root .services-subtitle {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 20px;
    font-size: 1rem;
    color: #4b5563;
}

.controller-widget-root .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.controller-widget-root .service-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 16px 18px;
    background: #f9fafb;
    font-size: 0.98rem;
}

.controller-widget-root .service-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #111827;
}

.controller-widget-root .service-card p {
    margin: 0 0 8px;
    color: #4b5563;
}

.controller-widget-root .service-card ul {
    margin: 0;
    padding-left: 18px;
    color: #374151;
    font-size: 0.95rem;
}

.controller-widget-root .service-card li + li {
    margin-top: 3px;
}

.controller-widget-root .services-cta {
    margin-top: 18px;
    text-align: center;
}

.controller-widget-root .services-contact {
    margin-top: 8px;
    font-size: 0.96rem;
    color: #4b5563;
}

.controller-widget-root .services-contact a {
    color: #0ea5e9;
    text-decoration: none;
}

.controller-widget-root .services-contact a:hover {
    text-decoration: underline;
}

/* UTIL */
.controller-widget-root .hidden {
    display: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .controller-widget-root .tester-title {
        font-size: 2.3rem;
    }

    .controller-widget-root .tester-main-layout {
        flex-direction: column;
    }

    .controller-widget-root #controller-wrapper {
        transform: scale(0.95);
        transform-origin: top center;
    }

    .controller-widget-root .analog-stick-container {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 480px) {
    .controller-widget-root .tester-title {
        font-size: 2rem;
    }

    .controller-widget-root #controller-wrapper {
        transform: scale(0.9);
        transform-origin: top center;
    }
}/* End custom CSS */