* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Amazon Ember', Arial, sans-serif;
}

body {
    background-color: #eaeded;
    color: #0f1111;
    line-height: 1.5;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header dengan gaya Amazon */
header {
    background: linear-gradient(to bottom, #232f3e, #131a22);
    color: white;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff9900;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Layout utama */
.content {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* Kartu dengan gaya Amazon */
.profile-section, .preview-section {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(15,17,17,.15);
    border: 1px solid #d5dbdb;
    padding: 20px;
}

.profile-section {
    flex: 1;
    min-width: 300px;
}

.preview-section {
    flex: 1;
    min-width: 300px;
}

/* Container foto profil */
.photo-container {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e7e7e7;
}

#profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #d5d9d9;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(15,17,17,.15);
}

/* Form groups */
.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #0f1111;
    font-size: 14px;
}

/* Input fields dengan gaya Amazon */
input, select, textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #a6a6a6;
    border-top-color: #949494;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.1s linear;
    background-color: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #e77600;
    box-shadow: 0 0 3px 2px rgba(228,121,17,.5);
    background-color: #f7feff;
}

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

/* Error messages */
.error-message {
    color: #c40000;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Button group */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Tombol dengan gaya Amazon */
.btn-primary, .btn-secondary {
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.1s linear;
    text-align: center;
    flex: 1;
    box-shadow: 0 2px 5px 0 rgba(213,217,217,.5);
}

.btn-primary {
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    border-color: #a88734 #9c7e31 #846a29;
    color: #111;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #f5d78e, #eeb933);
    border-color: #a88734 #9c7e31 #846a29;
}

.btn-primary:active {
    border-color: #a88734 #9c7e31 #846a29;
    box-shadow: inset 0 0 3px 3px rgba(0,0,0,.1);
}

.btn-secondary {
    background: linear-gradient(to bottom, #f7f8fa, #e7e9ec);
    border-color: #adb1b8 #a2a6ac #8d9096;
    color: #0f1111;
}

.btn-secondary:hover {
    background: linear-gradient(to bottom, #e7eaf0, #d9dce1);
}

.btn-secondary:active {
    border-color: #adb1b8 #a2a6ac #8d9096;
    box-shadow: inset 0 0 3px 3px rgba(0,0,0,.1);
}

/* Preview section */
.preview-section h2 {
    margin-bottom: 15px;
    color: #0f1111;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
}

.preview-card {
    background-color: #f8f9fa;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 15px;
}

.preview-photo {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7e7e7;
}

#preview-photo {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #d5d9d9;
    box-shadow: 0 2px 5px rgba(15,17,17,.15);
}

.preview-details p {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f2;
    display: flex;
}

.preview-details strong {
    color: #0f1111;
    min-width: 100px;
    font-weight: 700;
    font-size: 13px;
}

.preview-details span {
    color: #565959;
    font-size: 13px;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 20px;
    }
    
    .profile-section, .preview-section {
        padding: 15px;
    }
}

/* Gaya untuk tombol ganti foto */
.btn-change-photo {
    background: linear-gradient(to bottom, #f7f8fa, #e7e9ec);
    border: 1px solid #adb1b8;
    border-radius: 3px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    color: #0f1111;
    transition: all 0.1s linear;
}

.btn-change-photo:hover {
    background: linear-gradient(to bottom, #e7eaf0, #d9dce1);
}

/* Alert dengan gaya Amazon */
.amazon-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 1px solid;
    max-width: 300px;
}

.amazon-alert.success {
    background: linear-gradient(to bottom, #79c255, #5fa34d);
    border-color: #4a8c2c;
}

.amazon-alert.error {
    background: linear-gradient(to bottom, #e57373, #d32f2f);
    border-color: #c62828;
}

.amazon-alert.info {
    background: linear-gradient(to bottom, #64b5f6, #1976d2);
    border-color: #1565c0;
}