body {
    background: #f5f5f5;
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.info {
    margin-bottom: 15px;
    font-size: 14px;
    color: #d02129;
    font-weight: bold;
    max-width: 400px;
    line-height: 1.4;
}

#signature-input, #font-select, #color-select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #d02129;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

#font-select, #color-select {
    padding: 8px;
    cursor: pointer;
}

#font-select option {
    font-size: 16px;
}

#font-select option[value="Dancing Script"] { font-family: "Dancing Script"; }
#font-select option[value="Great Vibes"] { font-family: "Great Vibes"; }
#font-select option[value="Satisfy"] { font-family: "Satisfy"; }
#font-select option[value="Caveat"] { font-family: "Caveat"; }
#font-select option[value="Parisienne"] { font-family: "Parisienne"; }
#font-select option[value="Sacramento"] { font-family: "Sacramento"; }
#font-select option[value="Allura"] { font-family: "Allura"; }

.signature-preview {
    border: 2px solid #d02129;
    background: #fff;
    border-radius: 5px;
    width: 480px;
    height: 130px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    padding: 8px 20px;
    background: #d02129;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

button:hover {
    background: #b01c22;
}

#signature-input:disabled {
    background: #f0f0f0;
    cursor: not-allowed;
}