/* ===== Login Page ===== */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px 5%;
    position: relative;
    overflow: hidden;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.login-illustration {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-illustration::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.login-illustration::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.login-illustration h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.login-illustration p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 80%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.login-illustration img {
    width: 80%;
    max-width: 300px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.login-form-container {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 30px;
    text-align: center;
}

.login-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    width: 18px;
    height: 18px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.social-login {
    margin-bottom: 25px;
}

.social-login p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--light-gray);
}

.social-login p::before {
    right: 0;
}

.social-login p::after {
    left: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--light-gray);
    color: var(--gray);
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
}

.social-btn.google:hover {
    background: #ea4335;
    color: white;
    border-color: #ea4335;
}

.social-btn.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.social-btn.twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.signup-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.signup-link a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ===== Register Page ===== */
.register-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px 5%;
    position: relative;
    overflow: hidden;
}

.register-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
    flex-direction: column;
}

.register-form-container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-header {
    margin-bottom: 30px;
    text-align: center;
}

.register-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.register-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ===== Progress Bar ===== */
.progress-container {
    margin: 0 auto 40px;
    max-width: 800px;
    width: 100%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    counter-reset: step;
    margin-bottom: 30px;
}

.progress-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 4px;
    background-color: var(--light-gray);
    transform: translateY(-50%);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 50%;
    right: 0;
    height: 4px;
    background: linear-gradient(to left, var(--primary), var(--secondary));
    transform: translateY(-50%);
    z-index: 2;
    transition: var(--transition);
    width: 0%;
}

.progress-step {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    font-weight: bold;
    color: var(--gray);
    transition: var(--transition);
}

.progress-step.active {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(67, 97, 238, 0.2);
}

.progress-step.completed {
    background-color: var(--success);
    color: white;
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.progress-step.active::after {
    color: var(--primary);
    font-weight: bold;
}

/* ===== Form Steps ===== */
.form-steps {
    position: relative;
    min-height: 450px;
}

.form-step {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: var(--transition);
}

.form-step.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.account-type {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.account-type label {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.account-type input[type="radio"] {
    display: none;
}

.account-type label i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--gray);
}

.account-type label:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.account-type input[type="radio"]:checked+label {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.account-type input[type="radio"]:checked+label i {
    color: var(--primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    padding: 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-item:hover {
    background: rgba(67, 97, 238, 0.1);
}

.category-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.verification-steps {
    background: #f8f9ff;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
}

.verification-steps h3 {
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step {
    margin-bottom: 30px;
    position: relative;
}

.step::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 15px;
    bottom: -30px;
    width: 2px;
    background: var(--light-gray);
    z-index: 1;
}

.step:last-child::before {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: var(--primary);
    color: white;
}

.step-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark);
}

.upload-area {
    border: 2px dashed var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.03);
}

.upload-area i {
    font-size: 3rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.upload-area p {
    color: var(--gray);
    margin-bottom: 10px;
}

.upload-area small {
    color: var(--gray);
    font-size: 0.9rem;
}

.upload-preview {
    display: none;
    text-align: center;
    margin-top: 15px;
}

.upload-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-remove {
    background: var(--warning);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-remove:hover {
    background: #d61a6a;
}

.verification-animation {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.id-card,
.selfie-card {
    position: absolute;
    width: 120px;
    height: 80px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.id-card {
    left: 30px;
    top: 30px;
    color: var(--primary);
}

.selfie-card {
    right: 30px;
    top: 30px;
    color: var(--secondary);
}

.checkmark {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--success);
    opacity: 0;
}

.terms-container {
    margin-bottom: 25px;
}

.terms-container label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.terms-container input {
    margin-top: 5px;
}

.terms-container a {
    color: var(--primary);
    text-decoration: none;
}

.terms-container a:hover {
    text-decoration: underline;
}

.btn-register {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.signin-link {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.signin-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.signin-link a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Form Navigation Buttons */
.form-navigation {
    display: flex;
    gap: 5px;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 30px;
}

.form-navigation button {
    justify-content: center;
}

.btn-nav {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary);
}

.btn-prev {
    background: white;
    color: var(--primary);
}

.btn-next {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* New styles for scrollable verification */
.verification-steps-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border-radius: var(--border-radius);
    background: #f8f9ff;
    position: relative;
}

/* Scrollbar styling */
.verification-steps-container::-webkit-scrollbar {
    width: 8px;
}

.verification-steps-container::-webkit-scrollbar-track {
    background: rgba(67, 97, 238, 0.1);
    border-radius: 10px;
}

.verification-steps-container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 10px;
}

.verification-steps-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Visual cue for scrollable content */
.scroll-indicator {
    text-align: center;
    color: var(--primary);
    padding: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

/* Adjust spacing for scrollable container */
.verification-steps {
    padding: 15px;
}

/* Move animation outside of scrollable container */
.verification-animation {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

/* Make step connector shorter */
.step::before {
    bottom: -20px;
}

/* ===== Password Reset Page ===== */
.reset-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px 5%;
    position: relative;
    overflow: hidden;
}

.reset-container {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 40px;
    text-align: center;
}

.reset-header {
    margin-bottom: 30px;
    text-align: center;
}

.reset-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reset-header p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

.reset-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

/* Form Styles */
.reset-form {
    margin: 30px 0;
}

.password-toggle {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    cursor: pointer;
    z-index: 10;
}

.btn-reset {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-reset-loading .fa-spinner {
    display: inline-block;
}

.btn-reset-success .fa-check {
    display: inline-block;
}

.fa-spinner,
.fa-check {
    display: none;
}

.links-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.links-container a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.links-container a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.success-message {
    background: rgba(76, 201, 240, 0.15);
    border: 1px solid var(--success);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    display: none;
}

.success-message i {
    color: var(--success);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.success-message h3 {
    color: var(--success);
    margin-bottom: 10px;
}

.password-strength {
    margin-top: 8px;
    height: 6px;
    background-color: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.password-rules {
    text-align: right;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--gray);
}

.password-rules ul {
    padding-right: 20px;
    margin-top: 5px;
}

.password-rules li {
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.password-rules li i {
    font-size: 0.8rem;
}

.valid {
    color: var(--success);
}

.invalid {
    color: var(--warning);
}

/* ===== Projects Page ===== */
.main-header {
    background: linear-gradient(to right, rgba(67, 97, 238, 0.9), rgba(114, 9, 183, 0.85)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 40px 5%;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.main-header>* {
    position: relative;
    z-index: 1;
}

.main-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-container {
    display: flex;
    max-width: 800px;
    width: 100%;
    margin-top: 20px;
}

.search-container input {
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: 50px 0 0 50px;
    border: none;
    width: 100%;
    box-shadow: var(--box-shadow);
}

.search-btn {
    padding: 15px 30px;
    background-color: var(--success);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background-color: #3bb0d6;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.stat-card i {
    font-size: 2rem;
    color: var(--success);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== Filters Sidebar ===== */
.filters-sidebar {
    width: 300px;
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex-shrink: 0;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.filters-sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.budget-range {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.budget-range input {
    flex: 1;
}

.btn-filter {
    margin-top: 15px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.25);
}

.reset-btn {
    background: var(--light-gray);
    color: var(--gray);
    margin-top: 10px;
}

.reset-btn:hover {
    background: #e2e6ea;
    box-shadow: none;
    transform: none;
}

/* ===== Projects List ===== */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.projects-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.projects-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.project-card {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: var(--transition);
}

.project-card:hover::after {
    width: 8px;
}

.project-card h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-card .project-desc {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.6;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.project-category {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: var(--gray);
    margin-bottom: 15px;
}

/* ===== Project Details Page ===== */
.project-header {
    background: linear-gradient(to right, rgba(67, 97, 238, 0.9), rgba(114, 9, 183, 0.85));
    padding: 40px 5%;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.project-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-info {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary);
}

.project-category {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ===== Bids Section ===== */
.bids-section {
    flex: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bids-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.bid-card {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.bid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.bid-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: var(--transition);
}

.bid-card:hover::after {
    width: 8px;
}

.bid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.bid-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.user-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.user-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.bid-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.bid-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.bid-detail {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.detail-value {
    font-weight: bold;
}

.bid-message {
    color: var(--gray);
    line-height: 1.6;
    margin: 15px 0;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.bid-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-action {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-accept {
    background: linear-gradient(to right, #28a745, #218838);
    color: white;
}

.btn-accept:hover {
    background: linear-gradient(to right, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.25);
}

.btn-reject {
    background: var(--light-gray);
    color: var(--gray);
}

.btn-reject:hover {
    background: #e2e6ea;
}

/* ===== Add Bid Form ===== */
.add-bid-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.form-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.25);
}

/* ===== Verification Page ===== */
.verify-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.verify-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.verify-box h2 {
    color: #007bff;
    margin-bottom: 10px;
}

.step-label {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

input[type="file"] {
    margin-bottom: 25px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    background: #f9f9f9;
}

.hidden {
    display: none;
}

#successMessage {
    margin-top: 30px;
    color: green;
}


 /* ===== Confirmation Section ===== */
        .confirmation-section {
            display: flex;
            justify-content: center;
            align-items: center;
            flex: 1;
            padding: 40px 5%;
            position: relative;
            overflow: hidden;
        }
        
        .confirmation-container {
            width: 100%;
            max-width: 600px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            position: relative;
            z-index: 1;
            padding: 60px 40px;
            text-align: center;
        }
        
        .confirmation-icon {
            width: 120px;
            height: 120px;
            background: linear-gradient(to bottom right, var(--primary), var(--secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            color: white;
            font-size: 3.5rem;
            box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4); }
            70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(67, 97, 238, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
        }
        
        .confirmation-header {
            margin-bottom: 25px;
        }
        
        .confirmation-header h1 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .confirmation-message {
            color: var(--gray);
            font-size: 1.2rem;
            line-height: 1.7;
            max-width: 90%;
            margin: 0 auto 30px;
        }
        
        .confirmation-message strong {
            color: var(--primary);
            font-weight: 700;
        }
        
        .btn-home {
            width: 60%;
            padding: 15px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 30px auto 0;
            box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
        }
        
        .btn-home:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(67, 97, 238, 0.35);
        }
        
        .resend-link {
            margin-top: 25px;
            color: var(--gray);
            font-size: 1rem;
        }
        
        .resend-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: bold;
            transition: var(--transition);
        }
        
        .resend-link a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }

/* ===== رسالة التحقق من البريد الإلكتروني ===== */
.email-verification-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 30px 5%;
    background-color: #f8f9ff;
}

.email-verification-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.email-verification-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.1);
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--primary);
}

.verification-success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3.5rem;
    animation: pulse 2s infinite;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
}

.verification-success-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.verification-success-message {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.verification-process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
    text-align: right;
}

.verification-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(67, 97, 238, 0.05);
    border: 1px solid rgba(67, 97, 238, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.verification-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.verification-step::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.step-icon {
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    padding: 5px;
}

.step-details {
    flex: 1;
    text-align: right;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.step-description {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--gray);
    line-height: 1.6;
}

.verification-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 15px 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
    background: linear-gradient(to right, #5a6fd8, #8125c7);
}

.btn-outline-primary {
    padding: 15px 40px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: rgba(67, 97, 238, 0.05);
    transform: translateY(-3px);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}
