@charset "utf-8";
body {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

div {
    position: relative
}

select {
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter
}

input {
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter
}

textarea {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    padding: 5px;
    border: none;
}

.email {
    font-size: 20px;
    border: none;
    padding: 5px;
    width: 300px;
}

.emailtext {
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    font-size: 20px;
    padding: 5px;
}

.formselect {
    font-size: 20px;
    border: none;
}

.uploadback {
    font-size: 20px;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #FFF;
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    padding: 5px;
    width: 300px;
}

.formblock {
    padding: 0 0 10px 0;
}

.uploadfront {
    padding: 10px;
    opacity: 0;
}

.captcha {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    width: 80px;
    height: 36px;
    line-height: 36px;
    font-size: 28px;
    color: #333;
    vertical-align: middle;
    font-weight: normal;
    border: none
}

.startbutton {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    padding: 10px 20px 10px 20px
}

.howitworks {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    color: #FFF;
    font-weight: lighter;
    cursor: pointer;
    border-bottom: 1px dashed #FFF;
    margin: 0 0 0 10px
}

.moreinfo {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    color: #000;
    font-weight: lighter;
    cursor: pointer;
    border-bottom: 1px dashed #000;
}

.menu {
    font-size: 20px;
    font-weight: lighter;
    text-decoration: none;
    color: #000;
    margin: 0 15px 0 0;
    line-height: 40px;
    vertical-align: top;
}

.menusel {
    font-size: 20px;
    font-weight: lighter;
    border-bottom: 4px solid #c3c2c5;
    text-decoration: none;
    color: #000;
    margin: 0 15px 0 0;
    line-height: 40px;
    vertical-align: top;
}

.hrefwhite {
    font-size: 20px;
    font-weight: lighter;
    border-bottom: 1px dashed #FFF;
    text-decoration: none;
    color: #FFF;
    text-decoration: none
}

@media screen and (min-width: 800px) {
    .mainblock {
        margin: 0 0 0 160px;
        padding: 20px 20px 20px 0;
    }
    .mainblock2 {
        margin: 0 20px 0 160px;
        padding: 20px 20px 20px 0;
    }
    .mainblock3 {
        margin: 0 0 0 160px;
        padding: 20px 20px 20px 0;
    }
    .logo {
        position: fixed;
        top: 30px;
        left: 30px
    }
    .DesignContainer {
        padding: 0 20px 0 160px;
    }
    .DesignPic {}
    .PopularBlock {
        padding: 0 0 0 0
    }
    .DownloadPic {
        float: left;
        margin: 0 20px 40px 0
    }
    h1 {
        font-size: 36px;
        font-family: 'Open Sans', sans-serif;
        font-weight: lighter;
        padding: 0 0 5px 0;
        margin: 0
    }
    h2 {
        font-size: 28px;
        font-family: 'Open Sans', sans-serif;
        font-weight: lighter;
        padding: 0 0 5px 0;
        margin: 0
    }
    .contactpic {
        float: left
    }
    .contactdescr {
        margin: 0 0 0 120px
    }
}

@media screen and (max-width: 800px) {
    .mainblock {
        margin: 0 0 0 0;
        padding: 20px 0 20px 0;
    }
    .mainblock2 {
        margin: 0 20px 0 20px;
        padding: 20px 20px 20px 0;
    }
    .mainblock3 {
        margin: 0 0 0 20px;
        padding: 20px 20px 0 0;
    }
    .logo {
        position: relative;
        top: 20px;
        left: 20px;
        padding: 0 0 20px 0
    }
    .DesignContainer {
        margin: 0 20px 0 20px;
    }
    .DesignPic {
        width: 100%;
    }
    .PopularBlock {
        padding: 0 20px 0 20px
    }
    .DownloadPic {
        float: none;
        display: block;
        margin: 0 20px 10px 0;
        width: 50%;
        min-width: 200px
    }
    h1 {
        font-size: 28px;
        font-family: 'Open Sans', sans-serif;
        font-weight: lighter;
        padding: 0 0 5px 0;
        margin: 0
    }
    h2 {
        font-size: 22px;
        font-family: 'Open Sans', sans-serif;
        font-weight: lighter;
        padding: 0 0 5px 0;
        margin: 0
    }
    .contactpic {
        float: none;
        padding: 0 0 10px 0
    }
    .contactdescr {
        margin: 0 0 0 0
    }
}

.resulterror {
    background: #F33;
    color: #FFF;
    font-weight: lighter
}

.resultsuccess {
    background: #080;
    color: #FFF;
    font-weight: lighter
}

.title {
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    padding: 0 0 20px 0
}

.subtitle {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    padding: 0 0 5px 0
}

.textblock {
    padding: 0 0 20px 0
}

.textblock2 {
    font-size: 20px;
    padding: 0 0 20px 0
}

.portfoliopreview {
    cursor: pointer;
    border: 1px solid #CCC;
}

.contactrow {
    margin: 0 0 10px 0
}

.contacticon {
    padding: 0 5px 0 0
}

.contactblock {
    margin: 0 0 40px 0
}

.Tab {
    border: 1px solid #AAA;
    padding: 5px
}

.TabSel {
    border: 1px solid #AAA;
    border-bottom: none;
    padding: 5px 10px 5px 10px;
}

.TabEmpty {
    border-bottom: 1px solid #AAA;
    width: 50px
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 80%;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.modal-footer {
    text-align: right;
    margin-top: 20px;
}

.modal-button {
    padding: 8px 20px;
    background-color: #7f7b7a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-button:hover {
    background-color: #666;
}

.modal-body {
    flex-grow: 1;
    overflow-y: auto;
}

.modal-body pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
    font-size: 14px;
    margin: 0;
}

.format-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #FFF;
}

.format-info small {
    color: rgba(255, 255, 255, 0.7);
}

.formselect {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 10px;
}

.formselect:disabled {
    background: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.conversion-summary {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: #FFF;
}

.conversion-summary h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: #FFF;
}

.forminput {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.formtextarea {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    resize: vertical;
    min-height: 80px;
}

.error-message {
    color: #ff4444;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.refresh-button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1.2em;
}

.refresh-button:hover {
    background: rgba(255, 255, 255, 1);
}

.captcha-input {
    width: 150px;
}


/* Email field and form styles */

.field-description {
    font-size: 0.9em;
    color: #FFF;
    margin-top: 5px;
    padding: 5px 0;
}

.email-validation-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.forminput:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.input-container {
    position: relative;
}

.confirmation-summary {
    color: #333;
    padding: 15px 0;
}

.confirmation-section {
    margin: 20px 0;
}

.confirmation-section h4 {
    color: #666;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.confirmation-table {
    width: 100%;
    border-collapse: collapse;
}

.confirmation-table td {
    padding: 8px;
    vertical-align: top;
}

.confirmation-table td:first-child {
    width: 120px;
    color: #666;
}

.confirmation-notice {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 0.9em;
    color: #666;
}

.modal-button.secondary {
    background: #666;
    margin-right: 10px;
}

.modal-button.primary {
    background: #4CAF50;
}

.modal-button:hover {
    opacity: 0.9;
}

.conversion-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.file-details {
    margin: 15px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.conversion-paths {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.conversion-path {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.conversion-path.priority {
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.conversion-path h4 {
    margin: 0 0 15px 0;
    color: #FFF;
}

.estimate {
    color: #FFF;
    font-size: 0.9em;
    margin: 10px 0;
}

.price {
    font-size: 1.2em;
    color: #FFF;
    margin: 15px 0;
}

.path-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px 0;
}

.path-button.primary {
    background: #4CAF50;
    color: white;
}

.path-button.secondary {
    background: #666;
    color: white;
}

.path-details {
    margin-top: 15px;
    font-size: 0.9em;
    color: #CCC;
}

.limitations {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements {
    margin: 5px 0;
    padding-left: 20px;
}

.conversion-notice {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 0.9em;
    color: #FFF;
}

.more-info-toggle {
    margin-top: 20px;
}

.toggle-button {
    background: none;
    border: none;
    color: #FFF;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.more-info-content {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 0.9em;
    color: #CCC;
}

.button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    min-width: 120px;
    margin: 0 10px;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #757575;
}

.button.primary {
    background: #2196F3;
    color: white;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}

.button.primary:hover:not(:disabled) {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.button.secondary {
    background: #757575;
    color: white;
    box-shadow: 0 2px 4px rgba(117, 117, 117, 0.2);
}

.button.secondary:hover:not(:disabled) {
    background: #616161;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(117, 117, 117, 0.3);
}


/* Update existing button styles to use the new classes */

.nextbutton {
    @extend .button.primary;
}

.prevbutton {
    @extend .button.secondary;
}

.payment-button {
    @extend .button.primary;
}

.modal-button {
    @extend .button.secondary;
}

.formblock {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}


/* For buttons in modals */

.modal-footer .button {
    margin: 0 5px;
}

.tracking-form {
    margin: 30px auto;
    max-width: 400px;
}

.order-status-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.status-badge.pending {
    background: #FFA000;
    color: #FFF;
}

.status-badge.processing {
    background: #2196F3;
    color: #FFF;
}

.status-badge.completed {
    background: #4CAF50;
    color: #FFF;
}

.status-badge.error {
    background: #F44336;
    color: #FFF;
}

.download-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Conversion Options Styling */

.conversion-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.option-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    width: 300px;
    transition: transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(5px);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.option-card h3 {
    color: #FFF;
    font-size: 24px;
    margin: 0 0 15px 0;
    text-align: center;
}

.option-card p {
    color: #DDD;
    font-size: 16px;
    margin: 0 0 20px 0;
    text-align: center;
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.option-card ul li {
    color: #DDD;
    padding: 8px 0 8px 25px;
    position: relative;
}

.option-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.option-card .price {
    color: #FFF;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

.option-card button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.option-card button.primary {
    background: #4CAF50;
    color: white;
}

.option-card button.primary:hover {
    background: #45a049;
}

.option-card button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.option-card button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* Free Actions Section Styling */

.free-actions {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.action-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.action-item .action-status {
    margin-left: auto;
    padding-left: 15px;
}

.action-item .status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.action-item .status-icon.pending {
    background: #FFA500;
}

.action-item .status-icon.completed {
    background: #4CAF50;
}

.action-item button {
    margin-left: 10px;
}


/* Responsive Design */

@media (max-width: 768px) {
    .conversion-options {
        flex-direction: column;
        align-items: center;
    }
    .option-card {
        width: 100%;
        max-width: 300px;
    }
}


/* Animation for status changes */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.status-change {
    animation: fadeIn 0.3s ease-in-out;
}


/* Loading states */

.button.loading {
    position: relative;
    color: transparent;
}

.button.loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.debug-info {
    max-height: 70vh;
    overflow-y: auto;
    padding: 15px;
}

.debug-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.debug-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.debug-table td:first-child {
    width: 150px;
    background: #f5f5f5;
}

.debug-table pre {
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    margin: 0;
    padding: 8px;
    background: #f8f8f8;
    border-radius: 4px;
}

.modal-actions {
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}