﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px;*/
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .form-header h1 {
        color: #333;
        font-size: 28px;
        margin-bottom: 8px;
    }

    .form-header p {
        color: #999;
        font-size: 14px;
    }

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

    input[type="text"]:focus,
    input[type="number"]:focus,
    input[type="tel"]:focus,
    input[type="email"]:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: #667eea;
        background-color: white;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

input[type="file"] {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    font-size: 13px;
}

.error {
    border-color: #e74c3c !important;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

    .error-message.show {
        display: block;
    }

.file-info {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    .form-row .form-group {
        flex: 1;
        min-width: 200px;
        margin-bottom: 22px;
    }

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

button {
    flex: 1;
    padding: 13px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    }

.btn-reset {
    background-color: #ecf0f1;
    color: #333;
}

    .btn-reset:hover {
        background-color: #d5dbdb;
    }

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
    border: 1px solid #c3e6cb;
}

    .success-message.show {
        display: block;
    }

.popup-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
    max-width: 400px;
    word-wrap: break-word;
}

    .popup-notification.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .popup-notification.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.popup-notification.hide {
    animation: slideOut 0.3s ease-out forwards;
}

@media (max-width: 480px) {
   
    .form-header h1 {
        font-size: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

        .form-row .form-group {
            min-width: 100%;
        }

    button {
        padding: 12px 16px;
        font-size: 14px;
    }

    .popup-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
} 