﻿


@font-face {
    font-family: 'Vazirmatn-regular';
    src: url('../Fonts/VazirMatn/VazirMatn/Vazirmatn-Regular.woff2') format('woff2'), url('../Fonts/VazirMatn/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* font-family: 'Vazirmatn-regular', sans-serif; */

@font-face {
    font-family: 'Vazirmatn-bold';
    src: url('../Fonts/VazirMatn/Vazirmatn-Bold.woff2') format('woff2'), url('../Fonts/VazirMatn/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
/* font-family: 'Vazirmatn-bold', sans-serif; */


/* Base Styles */
body {
    margin: 0;
    padding: 0;
    background: #0A0A0A;
    font-family: 'Vazirmatn-regular', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Form Container */
.form-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Modern Glass Card - Centered */
.glass-card {
    display: none;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(155, 48, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.6s forwards 0.2s;
    position: relative;
    overflow: hidden;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Steps (Top) */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    transition: all 0.3s;
}

    .step.active {
        background: #9b30ff;
        transform: scale(1.2);
    }

/* Title Styling */
.step-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
    position: relative;
    font-family: 'Vazirmatn-bold', sans-serif;
}

    .step-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: #9b30ff;
        border-radius: 3px;
    }

/* Input Group */
.input-group {
    margin-bottom: 20px;
}




   




.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #aaa;
    font-family: 'Vazirmatn-regular', sans-serif;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #333;
    border-radius: 10px;
    background: rgba(40, 40, 40, 0.7);
    color: #fff;
    font-family: 'Vazirmatn-regular', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
}

    .input-field:focus {
        border-color: #9b30ff;
        outline: none;
        box-shadow: 0 0 0 3px rgba(155, 48, 255, 0.2);
    }

    .input-field:invalid {
        border-color: #ff4d4d;
    }

/* File Uploader (Styled) */
.file-upload-container {
    border: 2px dashed #444;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s;
    position: relative;
}

    .file-upload-container:hover {
        border-color: #9b30ff;
        background: rgba(155, 48, 255, 0.05);
    }

    .file-upload-container.has-file {
        border-color: #4CAF50;
        background: rgba(76, 175, 80, 0.05);
    }

.file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #4CAF50;
    display: none;
    font-family: 'Vazirmatn-regular', sans-serif;
}

/* LinkedIn URL Input + Button */
.linkedin-input-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.linkedin-input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #333;
    border-radius: 10px;
    background: rgba(40, 40, 40, 0.7);
    color: #fff;
    font-family: 'Vazirmatn-regular', sans-serif;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

/* Error Message */
.error-message {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: 5px;
    display: none;
    font-family: 'Vazirmatn-regular', sans-serif;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .glass-card {
        padding: 30px 20px;
        width: 95%;
    }

    .step-title {
        font-size: 20px;
    }
}










/* Center alignment fix */
.centered-form {
    width: 100%;
    max-width: 400px; /* Optimal width for inputs */
    margin: 0 auto; /* Perfect horizontal centering */
}

.input-group {
    width: 100%;
}

.input-field {
    width: 100%;
    box-sizing: border-box; /* Prevents overflow */
}

























/* Choice Items Container */
.choice-container {
    margin-bottom: 15px;
}

/* Individual Choice Item */
.choice-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(155, 48, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .choice-item:hover {
        background: rgba(155, 48, 255, 0.1);
        border-color: rgba(155, 48, 255, 0.3);
    }

    .choice-item.selected {
        background: rgba(155, 48, 255, 0.15);
        border-color: rgba(155, 48, 255, 0.5);
        box-shadow: 0 0 0 1px rgba(155, 48, 255, 0.3);
    }

/* Choice Graphic (Radio/Circle or Checkbox/Square) */
.choice-graphic {
    width: 22px;
    height: 22px;
    margin-left: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid #555;
}

.choice-item:hover .choice-graphic {
    border-color: #9b30ff;
}

/* Radio Button Specific Styles */
.choice-item[data-type="radio"] .choice-graphic {
    border-radius: 50%;
    background-color: transparent;
}

.choice-item[data-type="radio"].selected .choice-graphic {
    border-color: #9b30ff;
    background-color: transparent;
}

.choice-item[data-type="radio"] .choice-graphic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    background: #9b30ff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.choice-item[data-type="radio"].selected .choice-graphic::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Checkbox Specific Styles */
.choice-item[data-type="checkbox"] .choice-graphic {
    border-radius: 5px;
}

.choice-item[data-type="checkbox"].selected .choice-graphic {
    border-color: #9b30ff;
    background-color: #9b30ff;
}

.choice-item[data-type="checkbox"] .choice-graphic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg) scale(0);
    width: 6px;
    height: 12px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transition: transform 0.2s ease;
}

.choice-item[data-type="checkbox"].selected .choice-graphic::after {
    transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

/* Choice Label */
.choice-label {
    font-family: 'Vazirmatn-regular', sans-serif;
    font-size: 15px;
    color: #eee;
    flex-grow: 1;
}

/* Ripple Effect Animation */
.choice-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(155, 48, 255, 0.4);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.choice-item:focus:not(.active)::before {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Error Message */
.choice-error {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: 5px;
    display: none;
    font-family: 'Vazirmatn-regular', sans-serif;
    text-align: right;
}







































/*rebelbutton style startsssssssssssssssssssssssssssssssss*/

.rebelbutton {
    font-family: 'Vazirmatn-regular', sans-serif;
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    color: #fff !important;
    background-color: #9b30ff; /* RebelCV purple */
    box-shadow: 0 4px 8px rgba(155, 48, 255, 0.3);
}

    /* Hover Effect */
    .rebelbutton:hover {
        background-color: #7a24cc; /* Slightly darker purple */
        box-shadow: 0 6px 12px rgba(155, 48, 255, 0.5);
        transform: translateY(-2px); /* Lift effect */
    }

    /* Click Effect */
    .rebelbutton:active {
        transform: translateY(2px); /* Pressed effect */
        box-shadow: 0 2px 4px rgba(155, 48, 255, 0.2);
    }

    /* Ripple Effect */
    .rebelbutton::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: all 0.6s ease-out;
    }

    .rebelbutton:active::after {
        width: 200%;
        height: 200%;
        opacity: 0;
        transition: all 0.6s ease-out;
    }

/* Submit Button */
.rebelbutton-submit {
    background-color: #9b30ff; /* RebelCV purple */
}

    .rebelbutton-submit:hover {
        background-color: #7a24cc;
    }

/* Cancel Button */
.rebelbutton-cancel {
    background-color: #ff4d4d; /* Red for cancel */
    color: #fff;
}

    .rebelbutton-cancel:hover {
        background-color: #cc0000; /* Darker red */
        box-shadow: 0 6px 12px rgba(255, 77, 77, 0.5);
    }

/* Disabled Button */
.rebelbutton-disabled {
    background-color: #d3d3d3; /* Light gray */
    color: #a1a1a1; /* Darker gray text */
    cursor: not-allowed;
    box-shadow: none;
}

    .rebelbutton-disabled:hover {
        background-color: #d3d3d3; /* No hover effect */
        box-shadow: none;
        transform: none;
    }

/* Additional Button Styles */
.rebelbutton-secondary {
    background-color: #4caf50; /* Green for secondary actions */
    color: #fff;
}

    .rebelbutton-secondary:hover {
        background-color: #388e3c; /* Darker green */
        box-shadow: 0 6px 12px rgba(76, 175, 80, 0.5);
    }

/*rebelbutton style endssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss*/


































/* Updated Progress Modal Styles with Persian fonts */
.progress-modal {
    font-family: 'Vazirmatn-regular', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

    .progress-modal.show {
        display: flex;
        opacity: 1;
    }

.progress-modal-content {
    background: linear-gradient(135deg, #2c0a4d 0%, #1a0630 100%);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(155, 48, 255, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease-out;
    border: 1px solid rgba(155, 48, 255, 0.2);
    text-align: right; /* RTL direction for Persian */
    direction: rtl;
}

.progress-modal.show .progress-modal-content {
    transform: translateY(0);
}

.progress-modal-header h3 {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Vazirmatn-bold', sans-serif;
}

.progress-container {
    margin: 20px 0;
}

.progress-bar-animated {
    height: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #9b30ff 0%, #7a24cc 100%);
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease-out;
    position: relative;
}

    .progress-bar-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100% );
        animation: shimmer 2s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

#progress-percent {
    color: #9b30ff;
    font-weight: bold;
    font-family: 'Vazirmatn-bold', sans-serif;
    padding-left: 10px;
}

#progress-message {
    text-align: right;
    flex-grow: 1;
    padding-left: 10px;
}

.progress-modal-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .progress-modal-content {
        width: 95%;
        padding: 20px;
    }
}