.jpg-to-psd-container {
width: 100%;
margin: 20px auto;
text-align: center;
}
.jpg-to-psd-card {
margin-bottom: 20px;
position: relative;
}
.jpg-to-psd-container h1 {
margin-top: 0;
margin-bottom: 15px;
font-weight: 600;
font-size: 45px;
}
.jpg-to-psd-description {
margin-bottom: 20px;
}
.jpg-to-psd-form-field {
margin-bottom: 20px;
}
.jpg-to-psd-container label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
:root {
--greyborder: #605a60;
--blueborder: #8338EC;
}
#jpg-to-psd-dropzone {
height: 303px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 18px 18px 3% 18px;
position: relative;
overflow-y: auto;
}
#jpg-to-psd-dropzone {
outline: none;
background: 
linear-gradient(90deg, var(--greyborder) 50%, transparent 0) repeat-x,
linear-gradient(90deg, var(--greyborder) 50%, transparent 0) repeat-x,
linear-gradient(0deg, var(--greyborder) 50%, transparent 0) repeat-y,
linear-gradient(0deg, var(--greyborder) 50%, transparent 0) repeat-y;
background-size: 12px 3px, 12px 3px, 3px 12px, 3px 12px;
background-position: 0 0, 0 100%, 0 0, 100% 0;
animation: linearGradientMove 2s infinite linear;
}
#jpg-to-psd-dropzone:hover, #jpg-to-psd-dropzone.drag-over {
outline: none;
background: 
linear-gradient(90deg, var(--blueborder) 50%, transparent 0) repeat-x,
linear-gradient(90deg, var(--blueborder) 50%, transparent 0) repeat-x,
linear-gradient(0deg, var(--blueborder) 50%, transparent 0) repeat-y,
linear-gradient(0deg, var(--blueborder) 50%, transparent 0) repeat-y;
background-size: 12px 3px, 12px 3px, 3px 12px, 3px 12px;
background-position: 0 0, 0 100%, 0 0, 100% 0;
animation: linearGradientMove 2s infinite linear;
}
@keyframes linearGradientMove {
100% {
background-position: 12px 0, -12px 100%, 0 -12px, 100% 12px;
}
}
.jpg-to-psd-file-input {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
z-index: 10;
}
.jpg-to-psd-dropzone-content {
text-align: center;
padding: 20px;
transition: opacity 0.3s;
width: 100%;
}
.jpg-to-psd-icon {
color: var(--blueborder);
margin-bottom: 10px;
}
.jpg-to-psd-main-text {
margin: 0 0 5px;
font-size: 1.1em;
font-weight: 500;
}
.jpg-to-psd-sub-text {
margin: 0;
font-size: 0.9em;
}
.jpg-to-psd-preview-container {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 999999;
}
.jpg-to-psd-file-preview {
width: 100%;
display: flex
;
align-items: center;
justify-content: space-between;
padding: 15px 20px;
box-sizing: border-box;
z-index: 5;
border-radius: 5px;
background: #f5f5f5;
}
.jpg-to-psd-file-details, .jpg-to-psd-converted-file {
display: flex;
justify-content: space-between;
width: 100%;
}
.jpg-to-psd-file-name {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 80%;
}
.jpg-to-psd-file-size {
font-size: 0.8em;
color: #666;
}
.jpg-to-psd-remove-file {
background: none;
border: none;
color: #d63638 !important;
font-size: 24px;
cursor: pointer;
padding: 0;
height: 30px;
width: 30px;
line-height: 30px;
text-align: center;
border-radius: 50%;
transition: background-color 0.2s;
}
.jpg-to-psd-remove-file:hover {
background-color: rgba(214, 54, 56, 0.1);
}
.jpg-to-psd-file-hint {
color: #666;
font-style: italic;
margin-top: 5px;
font-size: 0.9em;
}
.jpg-to-psd-submit-button {
margin-top: 25px;
}
.jpg-to-psd-button {
display: inline-block;
background-color: var(--blueborder);
color: white;
font-weight: 500;
padding: 12px 24px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s;
text-decoration: none;
}
.jpg-to-psd-button:hover,
.jpg-to-psd-button:focus {
background-color: #135e96;
color: white;
text-decoration: none;
}
.jpg-to-psd-button:disabled {
background-color: #aaa;
cursor: not-allowed;
}
.single .post .entry-content a.jpg-to-psd-download-button, .jpg-to-psd-download-button {
color: #fff;
}
.jpg-to-psd-download-button:hover,
.jpg-to-psd-download-button:focus {
background-color: #389a41;
}
#jpg-to-psd-conversion-status,
#jpg-to-psd-conversion-result,
#jpg-to-psd-conversion-error {
margin-top: 25px;
padding: 15px;
border-radius: 6px;
}
#jpg-to-psd-conversion-status {
display: flex;
align-items: center;
}
.jpg-to-psd-spinner {
display: inline-block;
width: 20px;
height: 20px;
margin-right: 10px;
border: 3px solid rgba(0, 0, 0, 0.1);
border-radius: 50%;
border-top-color: #2271b1;
animation: jpg-to-psd-spin 1s linear infinite;
}
@keyframes jpg-to-psd-spin {
to { transform: rotate(360deg); }
}
#jpg-to-psd-conversion-result {
border: 1px solid #666;
}
#jpg-to-psd-conversion-result h3 {
margin-top: 0;
color: #46b450;
font-weight: 600;
}
#jpg-to-psd-converted-files {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 15px;
}
.jpg-to-psd-converted-file {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px;
border: 1px solid #eee;
border-radius: 6px;
}
#jpg-to-psd-converted-filename {
font-family: monospace;
color: #555;
font-size: 0.9em;
}
#jpg-to-psd-conversion-error {
background-color: #fef1f1;
border: 1px solid #facfcf;
}
.jpg-to-psd-error-message {
color: #d63638;
}
.jpg-to-psd-error-message p {
margin: 0;
} @media screen and (max-width: 782px) {
.jpg-to-psd-container {
padding: 0 10px;
}
.jpg-to-psd-icon:after {
content: "Choose Files";
display: block;
border: 1px solid;
border-radius: 50px;
}
.jpg-to-psd-dropzone-text {
display: none;
}
#jpg-to-psd-dropzone  {     justify-content: center; }
.jpg-to-psd-dropzone {
min-height: 150px;
}
.jpg-to-psd-converted-file {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.jpg-to-psd-converted-file .jpg-to-psd-download-button {
align-self: flex-end;
}
}
.jpg-to-psd-captcha-label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #333;
}
.jpg-to-psd-captcha-input {
width: 100px;
padding: 8px 12px;
border: 2px solid #ddd;
border-radius: 4px;
font-size: 16px;
text-align: center;
}
.jpg-to-psd-captcha-input:focus {
outline: none;
border-color: #0073aa;
}
.g-recaptcha>div {
margin: auto;
}
.generator-captcha-submit-container {display:flex;
justify-content: space-between;}