* {
    box-sizing: border-box;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}


.label-selected {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 24px;
  color: #121519;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.label-period {
  color: #64748B;
  font-size: 12px;
  font-weight: 400;
  align-self: flex-end;
  /* padding-bottom: 4px; */
}

#selected-price {
  font-size: 32px;
  font-weight: 700;
  color: #121519;
  line-height: 0.7;
}

/* Custom Dropdown Styles */
.custom-select {
    position: relative;
    width: 100%;
}

.select-button {
    width: 100%;
    padding: 12px 12px;
    background: white;
    border: 1px solid #A7B7CC;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    transition: all 0.3s ease;
    user-select: none;
}

.storage-tag {
  font-weight: 700;
  color: #121519;
  padding-top: 2.5px;
}
/* .select-button:hover {
    border-color: #F1F5F9;
}

.select-button:focus {
    outline: none;
    border-color: #F1F5F9;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
} */

/* .select-button.active {
    border-color: #F1F5F9;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
} */

.select-text {
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.select-text.placeholder {
    color: #999;
}

.select-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.select-button.active .select-arrow {
    transform: rotate(180deg);
}

.options-container {
    position: absolute;
    top: 120%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #A7B7CC;
    border-radius: 12px 12px 12px 12px;
    /* max-height: 200px; */
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.options-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-radius: 12px 12px 12px 12px;
}

.option {
    padding: 12px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 16px;
}

.option.caption {
  font-style: italic;
  font-size: 14px;
  color: #64748B;
}

.option:first-child {
  border-radius: 12px 12px 0px 0px;
}

.option.highlighted:first-child {
  border-radius: 12px 12px 0px 0px;
}

.option:hover,
.option.highlighted {
    background-color: #f8f9fa;
}

.option.selected {
    background-color: #F1F5F9;
}

.option:last-child {
    border-bottom: none;
}

/* Hidden input for form submission */
.hidden-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Pricing specific styles */
.pricing-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-name {
    font-weight: 600;
}

.plan-price {
    color: #64748B;
    font-weight: 400;
}

.plan-description {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.plan-description img {
  width: 20px;
  height: 20px;
}

.plan-label {
  font-weight: 700;
  color: #121519;
  font-size: 14px;
}

/* Demo styles */
.demo-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.submit-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #005a87;
}

.result {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.credits-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
}

.month-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .select-button,
    .option {
        padding: 14px 16px;
    }
}
