* {
    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%); */
    background-color: transparent;
    min-height: 100vh;
    padding: 0px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.form-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: #4a5568;
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    opacity: 0.9;
}

form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e44c65;
    box-shadow: 0 0 0 3px rgba(228, 76, 101, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.social-media-group {
    margin-top: 10px;
}

.social-media-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.social-media-item select,
.social-media-item input {
    flex: 1;
}

.add-social-media,
.remove-social-media {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #019208;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-social-media:hover {
    background: #007506;
}

.remove-social-media {
    background: #df6969;
}

.remove-social-media:hover {
    background: #c53030;
}

.submit-group {
    margin-top: 30px;
    text-align: center;
}

button[type="submit"] {
    background: #e44c65;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

button[type="submit"]:hover {
    background: #d33b54;
}

.success-content {
    text-align: center;
    padding: 40px 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #00b919;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: rgb(255, 255, 255);
    font-size: 40px;
    font-weight: bold;
}

.success-content h2 {
    color: #2d3748;
    margin-bottom: 20px;
}

.success-content p {
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.6;
}

.back-button {
    display: inline-block;
    background: #e44c65;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s;
}

.back-button:hover {
    background: #d33b54;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    form {
        padding: 20px;
    }
    
    .social-media-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-media-item > * {
        margin-bottom: 5px;
    }
    
    .success-content {
        padding: 30px 20px;
    }
}
