/* Admin Styles for WP-Dev Cost Calculator */

/* General Styles */
.get-easy-quotes-for-wp-development-project-wrap {
    padding: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.get-easy-quotes-for-wp-development-project-wrap h1, 
.get-easy-quotes-for-wp-development-project-wrap h2, 
.get-easy-quotes-for-wp-development-project-wrap h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}
.get-easy-quotes-for-wp-development-project-wrap h1 {
    text-align: center;
}
/* Form Styling */
.get-easy-quotes-for-wp-development-project-form {
    max-width: 600px;
    margin: 0 auto;
}

.get-easy-quotes-for-wp-development-project-form textarea,
.get-easy-quotes-for-wp-development-project-form input[type="text"],
.get-easy-quotes-for-wp-development-project-form input[type="url"],
.get-easy-quotes-for-wp-development-project-form input[type="email"],
.get-easy-quotes-for-wp-development-project-form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.get-easy-quotes-for-wp-development-project-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
button.button-primary.button-reload,
.get-easy-quotes-for-wp-development-project-submit button.button-primary {
    background-color: #DD7936;
    border-color: #DD7936;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.get-easy-quotes-for-wp-development-project-submit button.button-primary {
    margin-top: 15px;
    width: 100%;
}

button.button-primary.button-reload:hover,
button.button-primary.button-reload:focus,
.get-easy-quotes-for-wp-development-project-submit button.button-primary:focus,
.get-easy-quotes-for-wp-development-project-submit button.button-primary:hover {
    background-color: #DE9A16;
    border-color: #DE9A16;
    box-shadow: none;
}

.get-easy-quotes-for-wp-development-project-stop-recording,
.get-easy-quotes-for-wp-development-project-start-recording{
    border: 1px solid #DD7936;
    background-color: #DD7936;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
    width: 50%;
    position: relative;
}
.get-easy-quotes-for-wp-development-project-stop-recording::before,
.get-easy-quotes-for-wp-development-project-start-recording::before{
    content: '';
    background-repeat: no-repeat;
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.get-easy-quotes-for-wp-development-project-stop-recording::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath fill='%23ffffff' d='M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z'/%3E%3C/svg%3E");
}
.get-easy-quotes-for-wp-development-project-start-recording::before{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3C!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath fill='%23ffffff' d='M0 128C0 92.7 28.7 64 64 64l256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2l0 256c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1l0-17.1 0-128 0-17.1 14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z'/%3E%3C/svg%3E");
}
.get-easy-quotes-for-wp-development-project-start-recording.hidden,
.get-easy-quotes-for-wp-development-project-stop-recording.hidden {
    display: none;
}

.get-easy-quotes-for-wp-development-project-start-recording:hover {
    background-color: #DE9A16;
    border-color: #DE9A16;
}
.get-easy-quotes-for-wp-development-project-form input[type=checkbox]:focus,
.get-easy-quotes-for-wp-development-project-form input[type=radio]:focus {
    border-color: #DD7936;
    box-shadow: 0 0 0 1px #DD7936;
}
.get-easy-quotes-for-wp-development-project-form input[type=radio]:checked::before{
    background-color: #DD7936;
}
.get-easy-quotes-for-wp-development-project-form input[type=checkbox]:checked::before{
    content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23DD7936%27%2F%3E%3C%2Fsvg%3E");        
}

/* Conditional Fields Styling */
.get-easy-quotes-for-wp-development-project-plugin-fields,
.get-easy-quotes-for-wp-development-project-theme-fields,
.get-easy-quotes-for-wp-development-project-error-fields {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.get-easy-quotes-for-wp-development-project-error-description,
.get-easy-quotes-for-wp-development-project-theme-details {
    margin-top: 10px;
}
.get-easy-quotes-for-wp-development-project-mockup-link,
.get-easy-quotes-for-wp-development-project-video-url {
    display: none;
    margin-top: 10px;
}

.get-easy-quotes-for-wp-development-project-consent {
    margin: 20px 0;
}

.get-easy-quotes-for-wp-development-project-consent label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.get-easy-quotes-for-wp-development-project-error-description a {
    display: inline-block;
    margin-top: 10px;
    color: #DD7936;
    text-decoration: none;
}

.get-easy-quotes-for-wp-development-project-error-description a:hover {
    text-decoration: underline;
}

/* Table Styling */
.get-easy-quotes-for-wp-development-project-table th {
    background: #f9f9f9;
    font-weight: bold;
}

.get-easy-quotes-for-wp-development-project-table td, 
.get-easy-quotes-for-wp-development-project-table th {
    padding: 10px;
    border: 1px solid #ddd;
}

/* Highlight Menu Item */
#adminmenu .toplevel_page_get-easy-quotes-for-wp-development-project > a {
    background-color: #DD7936 !important;
    color: #fff !important;
}

#adminmenu .toplevel_page_get-easy-quotes-for-wp-development-project > a:hover {
    background-color: #DE9A16 !important;
}

/* Upload Indicator */
.get-easy-quotes-for-wp-development-project-upload-indicator {
    margin-top: 10px;
    font-weight: bold;
    color: #DD7936;
}

.get-easy-quotes-for-wp-development-project-upload-indicator .progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    height: 20px;
    margin-top: 5px;
}

.get-easy-quotes-for-wp-development-project-upload-indicator .progress-fill {
    background-color: #DD7936;
    height: 100%;
    width: 0;
    transition: width 0.3s ease-in-out;
}
.get-easy-quotes-for-wp-development-project-submit-another {
    margin-left: 10px;
}

/* Support Banner */
.easyquote-dev-support-banner {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    padding: 8px 12px;
    background-color: #fef8f1;
    border-left: 3px solid #DD7936;
    border-radius: 2px;
    font-size: 12.5px;
    color: #6c6c6c;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.easyquote-dev-support-banner .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #DD7936;
    flex-shrink: 0;
}

.easyquote-dev-support-banner a {
    color: #DD7936;
    text-decoration: none;
    font-weight: 500;
}

.easyquote-dev-support-banner a:hover {
    text-decoration: underline;
    color: #DE9A16;
}