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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, #3bffd8 0%, #764ba2 100%); */
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.form-container {
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    padding: 10px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.file-upload-container {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8f9ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: #2980b9;
    background: #f0f7ff;
}

.file-upload-container.dragover {
    border-color: #27ae60;
    background: #f0fff4;
}

.file-input {
    display: none;
}

.upload-text {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 5px;
}

.upload-hint {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ecf0f1;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.file-name {
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-left: 10px;
}

.remove-file {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 10px;
}

.remove-file:hover {
    background: #c0392b;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    display: none;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

.alternatives{
    margin-top: 5px;
    padding-top: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.alternatives div{
    flex-basis: 33%;
    margin-bottom: 10px;
    font-size: 15px;
}

.call{
    max-width: 33%;
}

.mail{
    max-width: 33%;
}

.tel{
    max-width: 33%;
}

.tel a,
.call a,
.mail a{
    text-decoration: none;
    color: #fff;
}


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

.optional-label {
    color: #7f8c8d;
    font-weight: 400;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }

    .alternatives div{
        flex-basis: 100%;
        font-size: 13px;
    }

    .call{
        max-width: 100%;
    }

    .mail{
        max-width: 100%;
    }

    .tel{
        max-width: 100%;
    }
}

@media (max-width: 425px) {
    .header {
        padding: 10px;
    }

    .header p {
        font-size: 13px;
    }

    .alternatives div{
        flex-basis: 100%;
        font-size: 12px;
    }
}
