<style>
:root {
    --primary-color: #4facfe;
    --secondary-color: #00f2fe;
    --dark-bg: #1a1a2e;
    --card-bg: #ffffff;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    display: none;
    animation: fadeIn 0.5s;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
	background: linear-gradient(45deg, #6cb1f5, #023b73);

    color: white;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
	background-size: 200% auto;
}

.btn:hover {
	background-position: right center; /* يحرك التدرج ليعطي انطباع إضاءة */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    color: white;
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
    box-shadow: 0 4px 15px rgba(108,117,125,0.3);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
    display: block;
}

.navbar {
    background: white;
    padding: 15px 30px;
    margin-bottom: 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-bottom: 40px;
}

.navbar a {
    color: var(--dark-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
	color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.navbar a:hover::after {
    transform: scaleX(1);
}

.navbar a:hover {
    color: var(--primary-color);
}

.progress-bar-custom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e1e1e1;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e1e1e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.progress-step.active {
    background: white; /* خلفية بيضاء */
    border: 2px solid #28a745; /* إطار أخضر */
    color: #28a745; /* نص أخضر */
    transform: scale(1.15);
    /* توهج أخضر خفيف */
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.3); 
    font-size: 1.1rem;
    font-weight: bold;
}
.progress-step.completed {
background: linear-gradient(45deg, #28a745, #20c997); /* تدرج أخضر */
    border-color: #28a745;
    color: white; /* النص أبيض */
    transform: scale(1.15);
    /* توهج أخضر متناسق */
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.5); 
    font-size: 1.1rem;
    font-weight: bold;}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.file-upload {
    border: 2px dashed #e1e1e1;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.file-upload i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reference-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.remove-reference {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-reference:hover {
    transform: scale(1.1);
}
</style>
