
.tp-lab-wrapper {
    background: transparent; /* خلفية شفافة */
    font-family: 'Segoe UI', Tahoma, sans-serif;
    max-width: 1000px;
    margin: 30px auto;
    color: #fff; /* النص أبيض */
}

/* Upload Zone */
.tp-upload-zone {
    display: block; /* لضمان قابلية النقر */
    border: 2px dashed rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tp-upload-zone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}
.tp-icon-box span {
    font-size: 60px;
    color: #fff;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}
.tp-upload-zone h3 {
    margin: 10px 0;
    font-size: 24px;
    color: #fff;
}
.tp-upload-zone p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Fake Button inside Upload Zone */
.tp-btn-fake {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}

/* Progress Bar */
.tp-progress-bar { 
    width: 100%; margin-top: 20px; height: 4px; background: rgba(255,255,255,0.2); display: none; border-radius: 2px;
}
.tp-progress-bar div { height: 100%; background: #fff; width: 0%; transition: width 0.3s; }

/* Workspace Styling */
.tp-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 20px;
}
.tp-control-group {
    flex: 1;
    min-width: 200px;
}
.tp-control-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}
input[type=range] {
    width: 100%;
    cursor: pointer;
}

.tp-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* White Buttons Style */
.tp-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.1s;
    flex: 1;
}
.tp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.tp-btn.active {
    background: #FFD700; /* Gold for active state */
    color: #000;
}
.btn-reset {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.btn-reset:hover {
    background: #fff;
    color: red;
}

/* Viewer Canvas */
.tp-viewer-canvas {
    width: 100%;
    height: 600px;
    background: rgba(0,0,0,0.5); /* Semi-transparent black backing */
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
}

.tp-close-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}
.tp-close-btn:hover {
    background: red;
    border-color: red;
}
