@charset "utf-8";
/* CSS Document */

.status {
    margin-top: 20px;
    padding: 0px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.active-script {
    font-weight: bold;
    color: #007bff;
}

.script-output {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
    font-family: monospace;
}

/* Modal Overlay Styles */
.integrated-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    z-index: 25;
	backdrop-filter: blur(5px);
}

.diary-modal-content, .worry-modal-content {
    background-color: transparent;
}

.diary-modal-content textarea,
.worry-modal-content textarea,
.diary-textarea,
.worry-textarea,
.worry-input,
#diaryTextTitle {
    width: 98%;
    height: 40%;
    padding: 10px;
    border: 1px solid #ddd;
    background: hsla(0,0%,100%,0.00);
    font-family: "Shadows Into Light Two", cursive;
    font-weight: 400;
    color: #DDD;
    border-radius: 5px;
    font-size: 22px;
    margin: 0 0;
    resize: none;
}

.diary-modal-content textarea:focus,
.worry-modal-content textarea:focus,
.diary-textarea:focus,
.worry-textarea:focus,
.worry-input:focus,
#diaryTextTitle:focus {
    outline: none;
    border: 3px solid transparent;
    background: 
        linear-gradient(black, black) padding-box,
        linear-gradient(45deg, 
            #ff0000, #ff8000, #ffff00, #80ff00,
            #00ff00, #00ff80, #00ffff, #0080ff,
            #0000ff, #8000ff, #ff00ff, #ff0080
        ) border-box;
    animation: rotate-colors 3s linear infinite;
    background-attachment: fixed;
}

@keyframes rotate-colors {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.diary-done-btn:hover,
.worry-next-btn:hover,
.worry-done-btn:hover {
    background-color: #D5FF4F !important;
	color: #0B0B0B !important;
	font-weight: 600;
}


.worry-input {
	color: #DDD;
}

/* PORTRAIT MOBILE (up to 1099px wide) */
@media only screen and (orientation: portrait) and (max-width: 1099px) {


.diary-modal-content, .worry-modal-content {
    width: 90%;
    height: 90%;
    padding: 5% 5%;
	border-radius: 7px;
}

/* Common heading styles for both modals */
.diary-modal-content h2,
.worry-modal-content h2,
.diary-title,
.worry-step-title {
    margin: 2% 7%;
    width: 98%;
    color: #DDD;
    font-family: "Imprima", sans-serif;
    font-weight: 600;
    font-style: bold;
    font-size: 20px;
    line-height: 1.5;
}

/* Common textarea styles for both modals */
.diary-modal-content textarea,
.worry-modal-content textarea,
.diary-textarea,
.worry-textarea {
    width: 86%;
    height: 45vh;
    padding: 10px;
    border: 2px solid #ddd;
    background: hsla(0,0%,100%,0.00);
    font-family: "Shadows Into Light Two", cursive;
    font-weight: 400;
    border-radius: 5px;
    font-size: 20px;
	color: #DDD;
    margin: 20px 7% 10px;
    resize: none;
}


.worry-modal-content textarea, 
.worry-textarea {
	height: 56vh !important;
}

#diaryTextTitle {
    width: 86%;
    height: 6vh;
    padding: 10px;
    border: 2px solid #ddd;
    background: hsla(0,0%,100%,0.00);
    font-family: "Shadows Into Light Two", cursive;
    font-weight: 400;
    border-radius: 5px;
    font-size: 20px;
    margin: 20px 7%;
    resize: none;
}

/* Input field styles */
.worry-input {
    width: 80%;
    height: 45vh;
    padding: 10px;
    border: 2px solid #ddd;
    background: hsla(0,0%,100%,0.00);
    font-family: "Shadows Into Light Two", cursive;
    font-weight: 400;
    border-radius: 5px;
    font-size: 80px;
    text-align: center;
    margin: 20px 10%;
    resize: none;
}

/* Common button styles for both modals */
.diary-save-btn,
.diary-done-btn,
.worry-next-btn,
.worry-save-btn,
.worry-done-btn {
	background-color: black !important;
	border: none !important;
	color: #F1F7F6 !important;
    font-family: "Imprima", sans-serif;
    font-weight: 600;
    font-size: 19px;
    padding: 10px 20px;
    border-radius: 7px !important;
    cursor: pointer;
    float: right;
    transition: background-color 0.3s;
    margin-right: 1%;
}



/* Switch button styles */
.diary-switch-btn,
.worry-switch-btn {
	background-color: black !important;
	border: none !important;
	color: #F1F7F6 !important;
    font-weight: 600 !important;
}

.diary-switch-btn:hover,
.worry-switch-btn:hover {
    background-color: #FF9600 !important;
}

/* Switch container styles */
.diary-switch-container,
.worry-switch-container {
    margin-bottom: 20px;
}

/* Description text styles */
.diary-description,
.worry-step-description {
    color: #666;
    margin-bottom: 20px;
    margin-left: 10%;
    width: 80%;
    font-family: "Shadows Into Light Two", cursive;
    font-size: 16px;
}

/* Step container styles */
.worry-step {
    display: none;
}

/* Button container styles */
.diary-buttons,
.worry-buttons {
    clear: both;
    text-align: right;
    margin-top: 20px;
}

/* Disabled button states for save and done buttons */
.diary-modal-content button.disabled,
.worry-modal-content button.disabled,
.diary-save-btn:disabled,
.diary-done-btn:disabled,
.worry-save-btn:disabled,
.worry-done-btn:disabled {
    background-color: #666 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transition: none !important;
}

.diary-modal-content button.disabled:hover,
.worry-modal-content button.disabled:hover,
.diary-save-btn:disabled:hover,
.diary-done-btn:disabled:hover,
.worry-save-btn:disabled:hover,
.worry-done-btn:disabled:hover {
    background-color: #666 !important;
    color: #999 !important;
    cursor: not-allowed !important;
}
	
}

/* LANDSCAPE MOBILE/TABLET (480px to 1099px wide) */
@media only screen and (min-width: 480px) and (orientation: landscape) and (max-width: 1099px) {
    
    .integrated-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        justify-content: center;
        align-items: center;
		z-index: 25;
    }

    .diary-modal-content,
    .worry-modal-content {
        width: 90%;
        height: 90%;
        max-width: 1500px;
        padding: 2% 5%;
		border-radius: 7px;
    }

    .diary-modal-content h2,
    .worry-modal-content h2,
    .diary-title,
    .worry-step-title {
        margin: 0% 0% 2% 0%;
        width: 98%;
	    height: 15%;
        margin-left: 1%;
        color: #DDD;
        font-family: "Imprima", sans-serif;
        font-weight: 600;
        font-style: bold;
        font-size: 22px;
        line-height: 1;
    }

    .diary-modal-content textarea,
    .worry-modal-content textarea,
    .diary-textarea,
    .worry-textarea {
        width: 98%;
        height: 35%;
        padding: 10px;
        border: 1px solid #ddd;
        background: hsla(0,0%,100%,0.00);
        font-family: "Shadows Into Light Two", cursive;
        font-weight: 400;
		color: #DDD;
        border-radius: 5px;
        font-size: 22px;
        margin: 0 0;
        resize: none;
    }
	

    #diaryTextTitle {
        width: 98%;
        height: 15vh;
        padding: 10px;
        border: 1px solid #ddd;
        background: hsla(0,0%,100%,0.00);
        font-family: "Shadows Into Light Two", cursive;
        font-weight: 400;
        border-radius: 5px;
        font-size: 22px;
        margin: 0 0;
        resize: none;
    }

    .worry-input {
        width: 98%;
        height: 50vh;
        padding: 10px;
        border: 1px solid #ddd;
        background: hsla(0,0%,100%,0.00);
        font-family: "Shadows Into Light Two", cursive;
        font-weight: 400;
        border-radius: 5px;
        font-size: 80px;
        text-align: center;
        margin: 20px 0;
        resize: none;
    }


    .diary-save-btn,
    .diary-done-btn,
    .worry-next-btn,
    .worry-save-btn,
    .worry-done-btn {
        background-color: #333;
        font-family: "Imprima", sans-serif;
        font-weight: 400;
        font-size: 19px;
        color: white;
        border: none;
        padding: 5px 20px;
        border-radius: 7px;
        cursor: pointer;
        float: right;
        transition: background-color 0.3s;
        margin: 0% 1% 0 0;
	}
		
}



/* DESKTOP (1100px and wider) */
@media only screen and (min-width: 1100px) {
    
    .integrated-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        justify-content: center;
        align-items: center;
		z-index: 25;
    }

    .diary-modal-content,
    .worry-modal-content {
        width: 90%;
        height: 90%;
        max-width: 1500px;
        padding: 2% 5%;
		border-radius: 10px;
    }

    .diary-modal-content h2,
    .worry-modal-content h2,
    .diary-title,
    .worry-step-title {
        margin: 5% 0% 2% 0%;
        width: 98%;
        margin-left: 1%;
        color: #DDD;
        font-family: "Imprima", sans-serif;
        font-weight: 600;
        font-style: bold;
        font-size: 22px;
        line-height: 1;
    }

    .diary-modal-content textarea,
    .worry-modal-content textarea,
    .diary-textarea,
    .worry-textarea {
        width: 98%;
        height: 40vh;
        padding: 10px;
        border: 1px solid #ddd;
        background: hsla(0,0%,100%,0.00);
        font-family: "Shadows Into Light Two", cursive;
        font-weight: 400;
		color: #DDD;
        border-radius: 5px;
        font-size: 22px;
        margin: 0 0;
        resize: none;
    }
	

    #diaryTextTitle {
        width: 98%;
        height: 13vh;
        padding: 10px;
        border: 1px solid #ddd;
        background: hsla(0,0%,100%,0.00);
        font-family: "Shadows Into Light Two", cursive;
        font-weight: 400;
        border-radius: 5px;
        font-size: 22px;
        margin: 0 0;
        resize: none;
    }

    .worry-input {
        width: 98%;
        height: 50vh;
        padding: 10px;
        border: 1px solid #ddd;
        background: hsla(0,0%,100%,0.00);
        font-family: "Shadows Into Light Two", cursive;
        font-weight: 400;
        border-radius: 5px;
        font-size: 80px;
        text-align: center;
        margin: 20px 0;
        resize: none;
    }


    .diary-save-btn,
    .diary-done-btn,
    .worry-next-btn,
    .worry-save-btn,
    .worry-done-btn {
        background-color: #333;
        font-family: "Imprima", sans-serif;
        font-weight: 400;
        font-size: 19px;
        color: white;
        border: none;
        padding: 5px 20px;
        border-radius: 10px;
        cursor: pointer;
        float: right;
        transition: background-color 0.3s;
        margin: 2% 1% 0 0;
	}

		
}