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

body {
    font-family: 'Calibri', Tahoma, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0f14 0%, #0f1419 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(128, 179, 77, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(128, 179, 77, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.container {
    max-width: 500px;
    width: 100%;
    background: #121417;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 80px rgba(128, 179, 77, 0.03);
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.header {
    background: linear-gradient(90deg, #0a0f14 0%, #0f1419 100%);
    padding: 20px 25px;
    border-bottom: 1px solid #1f2326;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #e5e5e5;
    margin: 0;
}

.header h1 .accent {
    color: #80b34d;
}

.content {
    padding: 30px 25px;
}

.form-group {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

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

.form-group label {
    display: block;
    color: #b0b0b0;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
select {
    width: 100%;
    padding: 12px 16px;
    background: #0a0c0e;
    border: 1px solid #1a1d21;
    border-radius: 8px;
    color: #e5e5e5;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #80b34d;
    background: #0d0f12;
    box-shadow: 0 0 0 3px rgba(128, 179, 77, 0.1);
    transform: translateY(-1px);
}

input[type="text"]::placeholder {
    color: #505050;
}

.file-input-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed #1a1d21;
    border-radius: 8px;
    background: #0a0c0e;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.file-input-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(128, 179, 77, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-input-wrapper:hover {
    border-color: #80b34d;
    background: #0d0f12;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(128, 179, 77, 0.1);
}

.file-input-wrapper:hover::before {
    opacity: 1;
}

.file-input-wrapper.has-file {
    border-color: #80b34d;
    background: #0f1214;
    border-style: solid;
}

.file-input-wrapper.has-file::before {
    opacity: 1;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-input-content {
    text-align: center;
    pointer-events: none;
}

.file-input-content i {
    font-size: 32px;
    color: #505050;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-input-wrapper:hover .file-input-content i {
    transform: translateY(-3px) scale(1.1);
    color: #80b34d;
}

.file-input-wrapper.has-file .file-input-content i {
    color: #80b34d;
    animation: bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.2); }
}

.file-input-content p {
    color: #808080;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-input-wrapper.has-file .file-input-content p {
    color: #80b34d;
    font-weight: 500;
    transform: scale(1.05);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23808080' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.upload-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #80b34d 0%, #8cbe59 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.upload-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.upload-btn:hover::before {
    width: 300px;
    height: 300px;
}

.upload-btn:hover {
    background: linear-gradient(135deg, #8cbe59 0%, #98ca65 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 179, 77, 0.3);
}

.upload-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 12px rgba(128, 179, 77, 0.3);
}

.upload-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.upload-btn:hover i {
    transform: translateY(-2px);
}

.upload-btn span {
    position: relative;
    z-index: 1;
}

.upload-btn:disabled {
    background: #2a2d30;
    color: #505050;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.upload-btn:disabled::before {
    display: none;
}

.status-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-message.success {
    background: rgba(128, 179, 77, 0.15);
    color: #80b34d;
    border: 1px solid rgba(128, 179, 77, 0.3);
    display: block;
    box-shadow: 0 4px 16px rgba(128, 179, 77, 0.1);
}

.status-message.error {
    background: rgba(220, 60, 60, 0.15);
    color: #dc3c3c;
    border: 1px solid rgba(220, 60, 60, 0.3);
    display: block;
    box-shadow: 0 4px 16px rgba(220, 60, 60, 0.1);
}

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

.upload-btn.loading i {
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}