:root {
    --tej-pink: #FF6B9D;
    --tej-coral: #FF9966;
    --tej-orange: #FFB347;
    --tej-yellow: #FFD700;
    --tej-lime: #B8D43F;
    --tej-green: #7DC242;
    --tej-teal: #00BFA5;
    --tej-cyan: #00ACC1;
    --tej-blue: #4A90E2;
    --tej-indigo: #5C6BC0;
    --tej-purple: #8E44AD;
    --tej-red: #E74C3C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--tej-purple) 0%, var(--tej-blue) 50%, var(--tej-teal) 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 700px;
    width: 100%;
}

.form-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--tej-purple), var(--tej-orange), var(--tej-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.form-title {
    font-weight: 700;
    color: var(--tej-purple);
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--tej-pink), var(--tej-orange), var(--tej-yellow));
    border-radius: 2px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-label i {
    color: var(--tej-teal);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--tej-blue);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.15);
}

.form-control.is-invalid {
    border-color: var(--tej-red);
}

.form-control.is-valid {
    border-color: var(--tej-green);
}

.file-upload-wrapper {
    position: relative;
}

.file-list {
    max-height: 300px;
    overflow-y: auto;
}

.file-row {
    background: #f8f9fa;
    transition: background-color 0.3s ease;
}

.file-row:hover {
    background: #e9ecef;
}

.file-row button {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.file-row:hover button {
    opacity: 1;
}

.upload-progress .progress {
    height: 25px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.upload-progress .progress-bar {
    background: linear-gradient(90deg, var(--tej-blue), var(--tej-teal));
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tej-purple), var(--tej-blue));
    border: none;
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--tej-blue), var(--tej-teal));
}

.btn-primary:disabled {
    background: #6c757d;
    transform: none;
}

.btn-secondary {
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 600;
}

.modal-content {
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: none;
    padding: 20px 25px 10px;
}

.modal-body {
    padding: 20px 25px;
}

.modal-footer {
    border-top: none;
    padding: 10px 25px 20px;
}

.success-icon i {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logo-section {
        padding: 20px;
    }

    .logo-img {
        max-height: 70px;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .card-body {
        padding: 20px !important;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .btn-primary {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 60px;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
    }
}

/* Loading Animation */
.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: 10px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

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