:root {
    --primary-color: #2148C0;
    --secondary-color: #FF5722;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* small logo in the corner */
.top-logo {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 9999;
}

.top-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.top-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* left side box */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.left-panel::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    z-index: 1;
}

.logo {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 3px;
}

.left-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    z-index: 1;
}

.left-panel p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    z-index: 1;
}

.features-list {
    text-align: left;
    margin-top: 20px;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* right side box */
.right-panel {
    flex: 1;
    padding: 60px 50px;
    max-height: 90vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-panel::-webkit-scrollbar {
    width: 8px;
}

.right-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.right-panel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.right-panel::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* small status boxes */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.show {
    display: flex;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.alert i {
    font-size: 1.2rem;
}

/* the form area */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
    background: white;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 72, 192, 0.1);
}

.input-wrapper input.error {
    border-color: #dc3545 !important;
}

.input-wrapper input.success {
    border-color: #28a745 !important;
}

.validation-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.validation-icon.show {
    opacity: 1;
}

.validation-icon.success-icon {
    color: #28a745;
}

.validation-icon.error-icon {
    color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.78rem;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}

.error-message.show {
    display: flex;
}

/* the send button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 72, 192, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* small back link */
.back-link {
    margin-top: 25px;
    text-align: center;
}

.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.back-link a:hover {
    color: var(--secondary-color);
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-panel {
        padding: 40px 30px;
    }

    .left-panel h2 {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .features-list {
        display: none;
    }

    .right-panel {
        padding: 40px 30px;
    }
}