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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.form-wrapper {
    background-color: #111;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
}

h1 {
    color: #4CAF50;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

h2 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 300;
}

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

label {
    display: block;
    color: #fff;
    font-size: 0.95em;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #000;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #66BB6A;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #666;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #4CAF50;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #66BB6A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

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

.submit-btn:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

.status-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
    animation: slideIn 0.3s ease;
}

.status-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.status-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    color: #f44336;
}

.status-message.show {
    display: block;
}

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

/* Responsiv design för mobil */
@media (max-width: 600px) {
    .form-wrapper {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.2em;
    }
    
    input[type="text"],
    input[type="email"],
    textarea {
        padding: 10px 12px;
    }
    
    .submit-btn {
        padding: 12px 16px;
        font-size: 1em;
    }
}

/* Extra små skärmar */
@media (max-width: 360px) {
    .form-wrapper {
        padding: 25px 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}

/* Loader animation */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}