.controls {
flex: 1;
min-width: 300px;	
border: dashed 2px #8b5a2b;
padding: 20px;
background: #fff;
margin-bottom: 30px;
border-radius: 10px;
}
.card-preview {
flex: 1;
min-width: 300px;
display: flex;
justify-content: center;
}
.card-ecm {
width: 100%;
max-width: 385px;
height: 545px;
perspective: 770px;
position: relative;
background-size: cover;
background-position: center;
border: 6px solid #fff;
}
.card-inner-ecm {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.8s;
transform-style: preserve-3d;
overflow: hidden;
}
/* Card Templates */
.classic {
background-image: url('../img/wedding-card/wed-bg-classic.png');
color: #23444c;
}
.modern {
background-image: url('../img/wedding-card/wed-bg-modern.png');
color: #ffffff;
}
.card-inner-ecm {
padding: 40px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.details-ecm {
margin: 0;
width: 100%;
display: flex;
gap: 15px;
flex-direction: column;
}
.details-ecm p {
margin: 0px 0;
font-size: 0.8rem;
font-weight: bold;
line-height:1;
display: flex;
gap: 10px;
align-items: center;
justify-content: center;
}
p.invitation-rsvp {
font-size: 0.7rem;
margin: 0;
font-style: italic;
font-weight:normal;
}
.custom-message {
font-size: 0.7rem;
line-height:1;
margin-top: 25px;
margin-bottom: 10px;
font-style: italic;
}
/*my css start*/
.img_divider {
display: block;
margin: 0 auto;
}
p.date {
border-bottom: 2px dotted;
padding: 5px 0;
margin: 0px auto;
}
h5.wed-invi {
text-transform: uppercase;
font-weight: bold;
font-family: 'Open Sans', sans-serif;
margin: 0 0 30px 0;
padding:0;
font-size: 1rem;
line-height: 1;
color:#23444c;
}	
h2.coupleNames {
font-family: "Dancing Script", cursive;
font-size: 4rem;
margin-bottom: 20px;
font-weight: bold;
margin:0;
padding:0;
line-height: 1.2;
color:#3f6396;
text-transform:capitalize;
}
.modern h5.wed-invi { color:#fff;}
.modern h2.coupleNames {
color:#f3b548;
}
img#and-bar {
max-width: 100%; 
max-height: 20px; 
margin:5px auto;
}
img#dt-sep {
max-width: 100%; 
max-height: 24px;
}
.form-group {
display: flex;
flex-wrap: wrap;
gap: 20px;
}

.form-group .input-field {
flex: 1;
min-width: 200px;
}

.input-field {
margin-bottom: 20px;
width: 100%;
}

.input-field label {
display: block;
margin-bottom: 6px;
font-weight: 600;
color: #555;
font-size: 0.9rem;
}

input[type="text"], input, textarea, select {
border: 1px solid #e4e4e4;
background: #f9f9f9;
width: 100%;
font-size: 14px;
padding: 12px 15px;
border-radius: 8px;
transition: all 0.3s;
}

input[type="text"]:focus, input:focus, textarea:focus, select:focus {
outline: none;
border-color: #8b5a2b;
box-shadow: 0 0 0 2px rgba(139, 90, 43, 0.2);
background: white;
}

textarea {
height: 100px;
resize: vertical;
}
button {
background-color: #8b5a2b;
color: white;
border: none;
padding: 12px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
margin-top: 10px;
transition: background-color 0.3s;
width: 100%;
}
button:hover {
background-color: #6d4621;
}
#downloadBtn {
background-color: #5a8b2b;
margin-top: 15px;
}

#downloadBtn:hover {
background-color: #476e22;
}
@media (max-width: 767px) {
.app-container {
flex-direction: column;
}           
.coupleNames {
font-size: 2rem;
}
}
@media (min-width: 768px) {
.card-preview {
position: sticky;
top: 5px;
align-self: flex-start;
}
}