* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo h1 {
    color: #2d5a27;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 600px;
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
}

.card-header h2 {
    color: #2d5a27;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-header p {
    color: #666;
    font-size: 1rem;
}

.upload-section {
    margin-bottom: 30px;
}

.upload-area {
    border: 2px dashed #4caf50;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #f8fff8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #2d5a27;
    background: #f0fff0;
}

.upload-area.dragover {
    border-color: #2d5a27;
    background: #e8f5e8;
    transform: scale(1.02);
}

.upload-icon {
    color: #4caf50;
    margin-bottom: 20px;
}

.upload-area h3 {
    color: #2d5a27;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.upload-area p {
    color: #666;
    margin-bottom: 20px;
}

.browse-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.browse-btn:hover {
    background: #2d5a27;
}

.preview-section {
    text-align: center;
}

.preview-section img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background: #c82333;
}

.form-section {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #2d5a27;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #4caf50;
}

.action-section {
    text-align: center;
    margin-bottom: 30px;
}

.verify-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
}

.verify-btn:hover:not(:disabled) {
    background: #2d5a27;
    transform: translateY(-2px);
}

.verify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.status-section {
    text-align: center;
}

.status-card {
    background: #f8fff8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 30px;
}

.status-icon {
    color: #4caf50;
    margin-bottom: 20px;
}

.status-card h3 {
    color: #2d5a27;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.status-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reference-info {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .verification-card {
        padding: 30px 20px;
    }

    .upload-area {
        padding: 30px 15px;
    }

    .file-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .verification-card {
        padding: 25px 15px;
    }

    .verify-btn {
        width: 100%;
        padding: 14px;
    }
}