/* ================== Pixels App Main Stylesheet ================== */
:root {
  /* Typography */
  --font-family: "Albert Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-size: 14px;
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 800;

  /* Palette */
  --text-color: #252B2A;
  --dark-color: #1C1B1F;
  --dark-color-secondary: #333333;
  --light-color: #EAEAEA;
  --white-color: #ffffff;
  --active-tag: #1E90FFB2;

  /* Cells */
  --cell-color-green: #BEE97E4D;
  --cell-color-blue:  #7EB8E94D;
  --cell-color-red:   #FF7BAC4D;
  --cell-border-color: #EAEAEA;

  /* Buttons */
  --button-default-hover: #252525;
  --button-default-disabled: #9E9E9E;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size);
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}
.trigger-button {
    background: #2d3748;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.2);
}

.trigger-button:hover {
    background: #1a202c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.video-modal-container {
    max-width: 678px;
    min-height: 360px;
    width: 100%;
    height: auto;
    background: var(--white-color);
    padding: 25px;
    overflow: hidden;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-content-wrapper {
    display: flex;
    align-items: stretch;
}

.video-section {
    flex: 0 0 65%;
    position: relative;
    background: #000;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #333;
    margin-left: 6px;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.progress-bar-fill {
    height: 100%;
    width: 45%;
    background: #8b5cf6;
    transition: width 0.3s ease;
}

.text-section {
    flex: 0 0 35%;
    padding: 25px;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
}

#modal2 .text-section,
#modal3 .text-section{
  align-items: baseline;
  justify-content: flex-start;
}
.button-group {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.button-group .btn-text-only{
  margin: 0 15px 0 0;
}
.btn-watch {
    background: #2d3748;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.2);
}

.btn-watch:hover {
    background: #1a202c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

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

    .video-section,
    .text-section {
        flex: 1 1 100%;
    }

    .text-section {
        padding: 32px 24px;
    }

    .video-title {
        font-size: 24px;
    }

    .button-group {
        margin-top: 24px;
    }
}

.radio-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 200px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: #1a1a1a;
}

.radio-item label {
    font-size: 15px;
    color: #1a1a1a;
    cursor: pointer;
    margin: 0;
    user-select: none;
    line-height: 1.4;
}

/* Custom radio button styling */
.custom-radio-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 200px;
}

.custom-radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.custom-radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radio-button {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.custom-radio-item:hover .custom-radio-button {
    border-color: #9ca3af;
}

.custom-radio-item input[type="radio"]:checked + .custom-radio-button {
    border-color: #1a1a1a;
    background: #ffffff;
}

.custom-radio-item input[type="radio"]:checked + .custom-radio-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
}

.custom-radio-label {
    font-size: 15px;
    color: #1a1a1a;
    cursor: pointer;
    margin: 0;
    user-select: none;
    line-height: 1.4;
}
form.make-your-cell .form-control{
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  height: 27px;
  color:var(--button-default-disabled);
  font-size: var(--font-size);
  padding: 15px !important;
}
form.make-your-cell textarea.form-control{
  height: auto;
  border-radius: 10px;
}
.cell-color-select{
  width: 55px;
  border-radius: 50px;
}
/* Checkbox */
.checkbox-wrapper {
    margin-bottom: 28px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid #adb5bd;
    border-radius: 3px;
    position: relative;
    transition: all 0.15s ease;
    flex-shrink: 0;
    background: #ffffff;
}

.checkbox-container:hover .custom-checkbox {
    border-color: #868e96;
}

.checkbox-container input[type="checkbox"]:checked + .custom-checkbox {
    background: var(--white-color);
    border-color: #212529;
}

.checkbox-container input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--dark-color);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 14px;
    color: #495057;
    margin: 0;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}