* {
    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: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header img {
    display: block;
    margin: 0 auto 10px;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.section {
    padding: 40px;
}

.hidden {
    display: none !important;
}

h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.section > p {
    color: #666;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-google {
    background: #4285f4;
    color: white;
}

.btn-google:hover {
    background: #357ae8;
}

.btn-microsoft {
    background: #2f2f2f;
    color: white;
}

.btn-microsoft:hover {
    background: #1a1a1a;
}

.btn-primary {
    background: #0066cc;
    color: white;
}

.btn-primary:hover {
    background: #0052a3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    margin-top: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
    margin: 0;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0066cc;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
}

small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

/* Google Sign-In Button Container */
#loginSection {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.g_id_signin {
    margin-bottom: 15px;
}

/* Center the Google button */
#g_id_onload {
    display: flex;
    justify-content: center;
}

/* User Info */
.user-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info p {
    margin: 0;
    color: #333;
}

/* File List */
.file-list {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    display: none;
}

.file-list.show {
    display: block;
}

.file-item {
    padding: 8px;
    margin: 5px 0;
    background: white;
    border-radius: 4px;
    font-size: 14px;
}

/* Progress */
#uploadProgress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc 0%, #00cc66 100%);
    width: 0%;
    transition: width 0.3s ease;
}

#progressText {
    text-align: center;
    color: #666;
    font-weight: 600;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 600;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Conditional Fields */
.conditional-fields {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    margin: 20px 0;
}

/* Footer */
footer {
    background: #2f2f2f;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        margin: 0;
        border-radius: 0;
    }
    
    .section {
        padding: 20px;
    }
    
    header {
        padding: 20px;
    }
    
    header img {
        max-width: 200px !important;
    }
}
