/**
 * Public Styles for Situational Mindsets Plugin
 */
.control-label {
    font-size: 16px;
    font-weight: bold;
}
/* Container Styles */
.sm-groups-list,
.sm-survey-container,
.sm-report-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Groups Grid */
.sm-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sm-group-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sm-group-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.sm-group-card h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.4em;
}

.sm-group-licenses {
    color: #666;
    margin: 10px 0 20px 0;
}

.sm-group-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Button Styles */
.sm-button {
    display: inline-block;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: background 0.2s;
}

.sm-button:hover {
    background: #135e96;
    color: #fff;
}

.sm-button-primary {
    background: #2271b1;
}

.sm-button-primary:hover {
    background: #135e96;
}

.sm-button-secondary {
    background: #f0f0f1;
    color: #2c3338;
}

.sm-button-secondary:hover {
    background: #dcdcde;
    color: #2c3338;
}

/* Survey Styles */
.sm-survey-container h2 {
    color: #333;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sm-survey-description {
    background: #f0f6fc;
    padding: 15px;
    border-left: 4px solid #2271b1;
    margin-bottom: 25px;
    color: #1d2327;
}

.sm-survey-form {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.sm-survey-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.sm-survey-section:last-of-type {
    border-bottom: none;
}

.sm-survey-section h3 {
    color: #2271b1;
    margin-bottom: 20px;
}

.sm-question {
    margin-bottom: 25px;
}

.sm-question label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.sm-question input[type="text"],
.sm-question input[type="email"],
.sm-question select,
.sm-question textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.sm-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.sm-options label {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: normal;
}

.sm-options label:hover {
    background: #e7f5ff;
    border-color: #2271b1;
}

.sm-options input[type="radio"],
.sm-options input[type="checkbox"] {
    margin-right: 10px;
}

.sm-survey-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.sm-survey-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

.sm-survey-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sm-survey-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Report Styles */
.sm-report-summary {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.sm-stat-card {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sm-stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.9;
}

.sm-stat-number {
    font-size: 42px;
    font-weight: bold;
    margin: 0;
}

.sm-report-details {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
}

.sm-chart {
    margin: 20px 0;
}

.sm-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sm-bar {
    position: relative;
    background: linear-gradient(90deg, #2271b1 0%, #135e96 100%);
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    min-width: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sm-bar-label {
    font-weight: 600;
}

.sm-bar-value {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: bold;
}

.sm-report-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

/* Loading State */
.sm-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.sm-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #2271b1;
    border-radius: 50%;
    border-top-color: transparent;
    animation: sm-spin 0.6s linear infinite;
}

.panel {
    margin-bottom: 25px;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 17px;
    color: inherit;
}

.panel-primary > .panel-heading {
    color: #ffffff;
    background-color: #3498db;
    border-color: #3498db;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.66666667;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-info {
    color: #ffffff;
    background-color: #5bc0de;
    border-color: #46b8da;
    height: 30px;
 
}

.btn-info:hover {
    color: #ffffff;
    background-color: #46b8da;
    border-color: #3498db;
}

.form_group_select {
    padding: 5px;
}

div.Table_Scoring {
    margin: auto;
	position:relative;
	left:0px;
	top:0px;
	width:580px;
	height:100px;
}

div.yourscores-01_ {
	position:absolute;
	left:0px;
	top:0px;
	width:53px;
	height:60px;
}

div.yourscores-02_ {
	position:absolute;
	left:53px;
	top:0px;
	width:75px;
	height:23px;
}

div.yourscores-03a_ {
	position:absolute;
	left:128px;
	top:0px;
	width:14px;
	height:60px;
}

div.yourscores-04_ {
	position:absolute;
	left:142px;
	top:0px;
	width:76px;
	height:23px;
}

div.yourscores-05a_ {
	position:absolute;
	left:218px;
	top:0px;
	width:12px;
	height:60px;
}

div.yourscores-06_ {
	position:absolute;
	left:230px;
	top:0px;
	width:75px;
	height:23px;
}

div.yourscores-07a_ {
	position:absolute;
	left:305px;
	top:0px;
	width:13px;
	height:60px;
}

div.yourscores-08_ {
	position:absolute;
	left:318px;
	top:0px;
	width:75px;
	height:23px;
}

div.yourscores-09a_ {
	position:absolute;
	left:393px;
	top:0px;
	width:12px;
	height:60px;
}

div.yourscores-10_ {
	position:absolute;
	left:405px;
	top:0px;
	width:75px;
	height:23px;
}

div.yourscores-11a_ {
	position:absolute;
	left:480px;
	top:0px;
	width:13px;
	height:60px;
}

div.yourscores-12_ {
	position:absolute;
	left:493px;
	top:0px;
	width:75px;
	height:23px;
}

div.yourscores-13a_ {
	position:absolute;
	left:568px;
	top:0px;
	width:12px;
	height:60px;
}

div.yourscores-03_ {
	position:absolute;
	left:53px;
	top:23px;
	width:75px;
	height:23px;
	background-color:#F2BAA7;
}

div.yourscores-05_ {
	position:absolute;
	left:142px;
	top:23px;
	width:76px;
	height:23px;
	background-color:#FFE6B9;
}

div.yourscores-07_ {
	position:absolute;
	left:230px;
	top:23px;
	width:75px;
	height:24px;
	background-color:#ABD4B8;
}

div.yourscores-09_ {
	position:absolute;
	left:318px;
	top:23px;
	width:75px;
	height:24px;
	background-color:#D0E1B9;
}

div.yourscores-11_ {
	position:absolute;
	left:405px;
	top:23px;
	width:75px;
	height:24px;
	background-color:#AACDEA;
}

div.yourscores-13_ {
	position:absolute;
	left:493px;
	top:23px;
	width:75px;
	height:24px;
	background-color:#EDB9D0;
}

div.yourscores-20_ {
	position:absolute;
	left:53px;
	top:46px;
	width:75px;
	height:14px;
}

div.yourscores-21_ {
	position:absolute;
	left:142px;
	top:46px;
	width:76px;
	height:14px;
}

div.yourscores-22_ {
	position:absolute;
	left:230px;
	top:47px;
	width:75px;
	height:13px;
}

div.yourscores-23_ {
	position:absolute;
	left:318px;
	top:47px;
	width:75px;
	height:13px;
}

div.yourscores-24_ {
	position:absolute;
	left:405px;
	top:47px;
	width:75px;
	height:13px;
}

div.yourscores-25_ {
	position:absolute;
	left:493px;
	top:47px;
	width:75px;
	height:13px;
}

ul.page-numbers {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    width: initial;
}

ul.page-numbers > li {
    display: inline;
    float: left;
}

a.page-numbers, span.page-numbers  {
    display: inline;
    font-size: 18px;
    background-color: #eee;
    border-radius: 0 !important;
    border: 0;
    color: #727272;
    margin: 0 2px 0 0;
    padding: 10px 15px;
    position: relative;
    
    line-height: 1.428571429;
    text-decoration: none;
    font-weight: 400;
}

a.page-numbers:hover, a.page-numbers:focus, span.page-numbers.current {
	text-decoration: none;
	background-color:#3498db;
    color: #fff;
}

.sm-btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.66666667;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    
}

.sm-btn-success
 {
    color: #ffffff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.sm-btn-info {
    color: #000;
    background-color: #dddddd;
    border-color: #ddd;
}

.sm-btn-primary {
    background: #007bff;
    color: #fff;
}

.sm-btn-warning {
    color: #000;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.sm-btn-success:hover, .sm-btn-success:focus, .sm-btn-success.focus, .sm-btn-success:active, .sm-btn-success.active, .open > .dropdown-toggle.sm-btn-success
 {
    color: #ffffff;
    background-color: #348d34;
    border-color: #184b18;
    text-decoration: none;
}

.sm-btn-info:hover, .sm-btn-info:focus, .sm-btn-info.focus, .sm-btn-info:active, .sm-btn-info.active, .open > .dropdown-toggle.sm-btn-info
{
    color: #ffffff;
    background-color: #348498;
    border-color: #1f5768;
    text-decoration: none;
}

.sm-btn-info:hover, .sm-btn-info:focus, .sm-btn-info.focus, .sm-btn-info:active, .sm-btn-info.active, .open > .dropdown-toggle.sm-btn-info
{
    color: #ffffff;
    background-color: #2e7ea3;
    border-color: #1f5768;
    text-decoration: none;
}

.sm-btn-primary:hover, .sm-btn-primary:focus, .sm-btn-primary.focus, .sm-btn-primary:active, .sm-btn-primary.active, .open > .dropdown-toggle.sm-btn-primary
{
    color: #ffffff;
    background-color: #004bcf;
    border-color: #004bcf;
    text-decoration: none;
}

@keyframes sm-spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .sm-groups-grid {
        grid-template-columns: 1fr;
    }

    .sm-survey-form {
        padding: 20px;
    }

    .sm-survey-actions {
        flex-direction: column;
    }

    .sm-button {
        width: 100%;
    }

    .sm-report-summary {
        flex-direction: column;
    }

    .sm-stat-card {
        width: 100%;
    }
}

@media print {
    .sm-survey-actions,
    .sm-report-actions,
    .sm-button {
        display: none;
    }
}


.sm-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.priority_numbers_composite
{
    text-align: center;   font-size: 14px;
    color: black;
}

.sm-panel-primary {
    border-color: #3498db !important;
}

.sm-panel  {
    margin-bottom: 25px;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.sm-panel-primary > .sm-panel-heading, .panel-danger > .sm-panel-heading {
    color: #ffffff;
    background-color: #3498db;
    border-color: #3498db;
}

.panel-danger > .sm-panel-heading {
    font-weight: bold;
    color: #f0bd5e;
}
.sm-panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}

.sm-panel-body {
    padding: 15px;
}