body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    margin-bottom: 5px;
}

h2 {
    font-family: 'Playfair Display', serif;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.templates {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.template-option {
    border: 2px solid transparent;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.template-option img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 5px;
}

.template-option:hover {
    border-color: #3498db;
    transform: translateY(-3px);
}

.template-option.selected {
    border-color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
textarea {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Lato', sans-serif;
}

textarea {
    resize: vertical;
}

button {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

#share-link-section {
    margin-top: 30px;
    padding: 15px;
    background-color: #eaf6ff;
    border: 1px solid #c1e0f7;
    border-radius: 5px;
}

.link-display {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.link-display input {
    flex-grow: 1;
    background-color: #fff;
}

#copyLinkButton {
    background-color: #2ecc71;
}
#copyLinkButton:hover {
    background-color: #27ae60;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #777;
}