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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(145deg, #f0f0f0, #cacaca);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff,
        inset 1px 1px 2px rgba(255, 255, 255, 0.7),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.title {
    text-align: center;
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.tabs {
    display: flex;
    background: linear-gradient(145deg, #d0d0d0, #e8e8e8);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 25px;
    box-shadow: 
        inset 2px 2px 5px #b5b5b5,
        inset -2px -2px 5px #ffffff;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    color: #333;
    box-shadow: 
        3px 3px 6px #bebebe,
        -3px -3px 6px #ffffff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card {
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 
        5px 5px 10px #bebebe,
        -5px -5px 10px #ffffff;
}

label {
    display: block;
    color: #555;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 15px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: linear-gradient(145deg, #d0d0d0, #f0f0f0);
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    box-shadow: 
        inset 3px 3px 6px #b5b5b5,
        inset -3px -3px 6px #ffffff;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

input[type="text"]:focus,
textarea:focus {
    box-shadow: 
        inset 4px 4px 8px #a5a5a5,
        inset -4px -4px 8px #ffffff;
}

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

.btn {
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn.primary {
    background: linear-gradient(145deg, #007aff, #0056b3);
    color: white;
    box-shadow: 
        4px 4px 8px #bebebe,
        -4px -4px 8px #ffffff;
}

.btn.primary:hover {
    background: linear-gradient(145deg, #0066cc, #004499);
}

.btn.primary:active {
    box-shadow: 
        inset 3px 3px 6px #004499,
        inset -3px -3px 6px #0088ff;
}

.btn.small {
    width: auto;
    padding: 10px 20px;
    font-size: 14px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    color: #333;
    box-shadow: 
        3px 3px 6px #bebebe,
        -3px -3px 6px #ffffff;
}

.btn.small:hover {
    background: linear-gradient(145deg, #d0d0d0, #f0f0f0);
}

.btn.small:active {
    box-shadow: 
        inset 2px 2px 4px #bebebe,
        inset -2px -2px 4px #ffffff;
}

.result-container {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #d0d0d0;
    display: none;
}

.result-container.show {
    display: block;
}

.result-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.result-box input[type="text"],
.result-box textarea {
    flex: 1;
    margin-bottom: 0;
}

.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.message.show {
    display: block;
}

.message.success {
    background: linear-gradient(145deg, #d4edda, #c3e6cb);
    color: #155724;
    box-shadow: 
        3px 3px 6px #bebebe,
        -3px -3px 6px #ffffff;
}

.message.error {
    background: linear-gradient(145deg, #f8d7da, #f5c6cb);
    color: #721c24;
    box-shadow: 
        3px 3px 6px #bebebe,
        -3px -3px 6px #ffffff;
}
