/* Upload form custom styles - CodeCanyon replica */

/* File upload area */
#file-input-container {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    margin: 15px 0;
}

#file-input-container p {
    margin-bottom: 10px;
    color: #666;
}

.file-input-btn {
    background: #82b440;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

.file-input-btn:hover {
    background: #6a9a30;
}

/* Form groups */
.e-form__group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.e-form__label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.e-form__input select,
.e-form__input input[type="text"],
.e-form__input input[type="url"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.e-form__input select {
    height: 36px;
}

.e-form__hint {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
}

/* License pricing calculator */
.license-pricing {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin: 15px 0;
}

.license-pricing label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14px;
}

.license-pricing__calculator {
    background: #fff;
    padding: 20px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
}

.license-pricing__formula {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.license-pricing__formula-block {
    padding: 10px;
    text-align: center;
    min-width: 80px;
}

.license-pricing__formula-block.-weight-bold {
    font-weight: bold;
}

.license-pricing__formula-block.-color-green {
    color: #79b530;
}

.license-pricing__price-field {
    width: 100px !important;
    padding: 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

.license-pricing__recommendation {
    background: #f0f7ff;
    padding: 10px 15px;
    border-radius: 3px;
    text-align: center;
    font-size: 13px;
    color: #0084b4;
    border: 1px solid #cce5f5;
}

.license-pricing__tool-tip {
    position: relative;
    cursor: help;
    display: inline-block;
}

.tooltip-alpha {
    position: relative;
    display: inline-block;
}

.tooltip-alpha .e-icon {
    cursor: help;
}

.tooltip-alpha__body {
    display: none;
    position: absolute;
    background: #333;
    color: #fff;
    padding: 10px;
    border-radius: 3px;
    font-size: 12px;
    width: 250px;
    z-index: 1000;
    left: -100px;
    top: -60px;
    line-height: 1.4;
}

.tooltip-alpha .e-icon:hover + .tooltip-alpha__body,
.tooltip-alpha__body:hover {
    display: block;
}

/* Author Driven Pricing (ADP) */
.adp__wrapper {
    margin-top: 15px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.adp__switch {
    color: #0084b4;
    text-decoration: underline;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 10px;
}

.adp__switch:hover {
    color: #006a94;
}

.adp__popup {
    display: none;
    background: #fff;
    border: 2px solid #0084b4;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    margin-top: 10px;
}

.adp__inner {
    position: relative;
}

.adp__popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #999;
}

.adp__popup-close:hover {
    color: #333;
}

.adp__label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.adp__field {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.adp__field--xwide {
    width: 150px;
}

.adp__field--wide {
    width: 100px;
}

.adp__field--disabled {
    background: #f5f5f5;
    color: #666;
}

.adp__earnings {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.adp__purchase-price-wrapper {
    display: inline-block;
    margin-left: 20px;
}

.adp__purchase-price {
    font-weight: bold;
    font-size: 18px;
    color: #79b530;
}

.adp__external-infos {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.adp__subtitle {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.adp__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adp__list-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.adp__list-item:last-child {
    border-bottom: none;
}

.adp__currency-sign {
    font-weight: bold;
}

.adp__percent-sign {
    color: #666;
}

.adp__help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.adp__help a {
    color: #0084b4;
    text-decoration: underline;
}

.adp__tax-wrapper {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

.adp__tax-wrapper a {
    color: #0084b4;
    text-decoration: underline;
}

/* Submit button */
.form-submit {
    margin-top: 20px;
}

.btn-icon.upload {
    background: #82b440;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-icon.upload:hover {
    background: #6a9a30;
}

.btn-icon.upload:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Sidebar buttons */
.btn-icon.submit,
.btn-icon.help {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px 5px 5px 0;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: background 0.3s;
}

.btn-icon.submit {
    background: #82b440;
    color: #fff;
    border-color: #82b440;
}

.btn-icon.submit:hover {
    background: #6a9a30;
}

.btn-icon.help {
    background: #f0f0f0;
    color: #666;
}

.btn-icon.help:hover {
    background: #e0e0e0;
}

/* Checkbox styling */
.wordy-checkbox {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Note boxes */
.note {
    background: #fffbea;
    border: 1px solid #f5e6a3;
    padding: 10px 15px;
    border-radius: 3px;
    font-size: 13px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .license-pricing__formula {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .adp__purchase-price-wrapper {
        margin-left: 0;
        margin-top: 10px;
    }
}
