body {
    padding-top: 50px;
    font-size: 16px;
    background: #f5f7f9;
}

h1 {
    text-align: center;
    font-size: 30px;
}
.starter-template {
    padding: 40px 15px;
}

input, button {
    margin: 5px 0;
}

input:hover, input:focus {
    outline: 0;
    transition: all .5s linear;
    box-shadow: inset 0 0 10px #ccc;
}

fieldset {
    margin-top: 100px;
}
legend {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 20px;
    padding: 15px;
}
a {
    cursor: pointer;
}

.provider {
    display: inline-block;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    outline: none;
}
.facebook { background: #3B5998; }
.google { background: #D14836; }
.twitter { background: #00ACED; }
.yahoo { background: #731A8B; }
.xing { background: #006567; }
.vk { background: #567ca4; }

.social-providers,
.sign-in-now,
.already-member,
.not-a-member {
    text-align: center;
    margin-top: 20px;
}

.clef-button-wrapper {
    width: 190px!important;
    height: 34px!important;
    margin: 20px auto 0 auto!important;
}

.user {
    margin-top: 50px;
}
.user .data {
    margin-top: 10px;
}

.form-control {
    border-radius: 0;
}

[class^='ion-'] {
    font-size: 1.2em;
}

.has-feedback .form-control-feedback {
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    line-height: 46px;
    color: #555;
}

.has-feedback .form-control {
    padding-left: 42.5px;
}

.btn {
    font-weight: bold;
    border-radius: 2px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
}

.btn-lg {
    font-size: 18px;
}

meter {
    /* Reset the default appearance */
    -moz-appearance: none;
    appearance: none;

    margin: 0 auto 1em;
    width: 100%;
    height: .5em;

    /* Applicable only to Firefox */
    background: none;
    background-color: rgba(0,0,0,0.1);
}

meter::-webkit-meter-bar {
    background: none;
    background-color: rgba(0,0,0,0.1);
}

meter[value="0"]::-webkit-meter-optimum-value,
meter[value="1"]::-webkit-meter-optimum-value { background: red; }
meter[value="2"]::-webkit-meter-optimum-value { background: orange; }
meter[value="3"]::-webkit-meter-optimum-value { background: yellow; }
meter[value="4"]::-webkit-meter-optimum-value { background: green; }

meter::-webkit-meter-even-less-good-value { background: red; }
meter::-webkit-meter-suboptimum-value { background: orange; }
meter::-webkit-meter-optimum-value { background: green; }

meter[value="1"]::-moz-meter-bar,
meter[value="1"]::-moz-meter-bar { background: red; }
meter[value="2"]::-moz-meter-bar { background: orange; }
meter[value="3"]::-moz-meter-bar { background: yellow; }
meter[value="4"]::-moz-meter-bar { background: green; }

meter::-webkit-meter-optimum-value {
    transition: width .4s ease-out;
}


/* ValorAnalytics Custom Styles */

/* Base styling */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Header & Navigation */
.valor_header {
    background-color: #212529;
    border: none;
}

.navbar-brand {
    color: #fff;
    font-weight: 500;
}

.nav-links {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.nav-links a {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 10px;
    color: #3a7bd5;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #2a5db0;
}

/* Hero section */
.hero-section {
    padding: 40px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Forms */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    display: none;
}

.form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.form-control:focus {
    border-color: #3a7bd5;
    box-shadow: 0 0 0 0.2rem rgba(58, 123, 213, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: #3a7bd5;
    border-color: #3a7bd5;
}

.btn-primary:hover {
    background-color: #2a5db0;
    border-color: #2a5db0;
}

.btn-lg {
    padding: 10px 20px;
    font-size: 16px;
}

/* Social Providers */
.social-providers {
    margin-top: 30px;
    text-align: center;
}

.social-providers .provider {
    display: inline-block;
    margin: 0 5px;
}

.social-providers img {
    border-radius: 50%;
    transition: transform 0.2s;
}

.social-providers img:hover {
    transform: scale(1.1);
}

/* Alerts */
.alert {
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 28px;
    }
    
    .nav-links a {
        margin: 0 5px;
        font-size: 14px;
    }
}

/* Add these to the end of your main.css file */

/* Navigation in black navbar */
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-weight: normal;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Center-aligned hero section */
.hero-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.hero-center h1 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 36px;
}

.hero-center p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Sign-in section */
.signin-heading {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
    color: #333;
}

/* Form controls */
.input-lg {
    height: 46px;
    padding: 10px 16px;
    border-radius: 3px;
}

/* Button styling */
.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #2e59d9;
    border-color: #2e59d9;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .navbar-nav.navbar-right {
        float: none !important;
    }
    
    .navbar-nav.navbar-right > li {
        float: none;
    }
    
    .hero-center h1 {
        font-size: 28px;
    }
    
    .hero-center p {
        font-size: 16px;
    }
}