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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 750px;
    width: 100%;
    overflow: hidden;
    border-top: 4px solid #FA6000;
}

.header {
    background: #000;
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

.header p {
    font-size: 14px;
    color: #ccc;
}

.form-container {
    padding: 30px 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

.form-group label .required {
    color: #FA6000;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #000;
}

.form-control:focus {
    outline: none;
    border-color: #FA6000;
    box-shadow: 0 0 0 3px rgba(250, 96, 0, 0.1);
}

.form-control::placeholder {
    color: #999;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.error-message {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.password-strength {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    background: #d32f2f;
}

.btn-register {
    width: 100%;
    padding: 14px;
    background: #FA6000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-register:hover {
    background: #e05500;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(250, 96, 0, 0.3);
}

.btn-register:active {
    transform: translateY(0);
}

.footer-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.login-link {
    color: #666;
    font-size: 14px;
}

.login-link a {
    color: #FA6000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #e05500;
    text-decoration: underline;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff5f0;
    border-radius: 6px;
    color: #FA6000;
    font-size: 12px;
    border: 1px solid #ffe0d1;
}

.security-badge svg {
    width: 16px;
    height: 16px;
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#company_name_field {
    display: none;
}

#company_name_field.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-container {
        padding: 25px 20px;
    }

    .footer-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .register-container {
        max-width: 500px;
    }

    .header {
        padding: 30px 20px 20px;
    }
}
