* {
    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, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    color: #333;
    margin: 0;
}

.company-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-bottom: 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.company-info {
    flex: 1;
}

.company-name {
    color: #667eea;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.company-tagline {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 8px;
    transition: all 0.3s;
}

.phone-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}


header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

.application-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #667eea;
}

.instructions {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.video-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px dashed #ddd;
}

#videoPreview {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 12px;
    background: #000;
    margin-bottom: 15px;
}

.video-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 140px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f44336;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover:not(:disabled) {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: #4caf50;
    color: white;
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-success:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.recording-status {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: #f44336;
    font-size: 0.95rem;
}

.video-timer {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
}

.file-upload-label {
    display: inline-block;
    cursor: pointer;
    padding: 20px;
    border: 3px dashed #667eea;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
}

.file-upload-label:hover {
    background: #f5f7ff;
    border-color: #5568d3;
}

.file-upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.file-upload-text {
    font-weight: 600;
    color: #667eea;
}

input[type="file"] {
    display: none;
}

.file-name {
    margin-top: 10px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 500;
}

.submit-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.submit-status.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.submit-status.error {
    background: #ffebee;
    color: #c62828;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

    .application-form {
        padding: 20px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .video-controls {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}


